diff options
author | Christopher Faylor <me@cgf.cx> | 2001-11-28 00:16:58 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-11-28 00:16:58 +0000 |
commit | ab6341231fb218ca37d1a5ba5bc8d144952954e7 (patch) | |
tree | 85560bfb4eb64231f5ec74b8b50e0d078c64f77f /newlib/libc | |
parent | 4d029f3940b1f91b5ee06ccd724c90245c9d52cc (diff) | |
download | newlib-ab6341231fb218ca37d1a5ba5bc8d144952954e7.zip newlib-ab6341231fb218ca37d1a5ba5bc8d144952954e7.tar.gz newlib-ab6341231fb218ca37d1a5ba5bc8d144952954e7.tar.bz2 |
* libc/include/sys/types.h: Define useconds_t.
* libc/include/sys/ulimit.h: Declare ualarm.
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/include/sys/types.h | 4 | ||||
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h index e4fcef2..9c932a6 100644 --- a/newlib/libc/include/sys/types.h +++ b/newlib/libc/include/sys/types.h @@ -218,6 +218,10 @@ typedef _TIMER_T_ timer_t; #define __timer_t_defined #endif +#ifdef __CYGWIN__ +typedef long useconds_t; +#endif + #include <sys/features.h> diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 8ebabe3..07037b3 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -133,6 +133,7 @@ int _EXFUN(_execve, (const char *__path, char * const __argv[], char * const #if defined(__CYGWIN__) || defined(__rtems__) int _EXFUN(getdtablesize, (void)); int _EXFUN(setdtablesize, (int)); +useconds_t _EXFUN(ualarm, (useconds_t __useconds)); unsigned _EXFUN(usleep, (unsigned int __useconds)); int _EXFUN(ftruncate, (int __fd, off_t __length)); int _EXFUN(truncate, (const char *, off_t __length)); |