* libc/include/sys/types.h: Define useconds_t.

* libc/include/sys/ulimit.h: Declare ualarm.
This commit is contained in:
Christopher Faylor 2001-11-28 00:16:58 +00:00
parent 4d029f3940
commit ab6341231f
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-11-27 Christopher Faylor <cgf@redhat.com>
* libc/include/sys/types.h: Define useconds_t.
* libc/include/sys/ulimit.h: Declare ualarm.
2001-11-21 Christopher Faylor <cgf@redhat.com>
* libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.

View File

@ -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>

View File

@ -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));