* libc/include/sys/unistd.h: Add getdtablesize and setdtablesize declarations

for __CYGWIN__.
This commit is contained in:
Christopher Faylor 2000-10-10 00:28:49 +00:00
parent dc7f5226eb
commit a8018ef336
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
* libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
declarations for __CYGWIN__.
2000-09-19 Geoffrey Keating <geoffk@cygnus.com> 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
* libc/signal/signal.c (__sigtramp_r): ISO C requires * libc/signal/signal.c (__sigtramp_r): ISO C requires

View File

@ -93,6 +93,8 @@ int _EXFUN(_write, (int __fildes, const void *__buf, size_t __nbyte ));
int _EXFUN(_execve, (const char *__path, char * const __argv[], char * const __envp[] )); int _EXFUN(_execve, (const char *__path, char * const __argv[], char * const __envp[] ));
#if defined(__CYGWIN__) || defined(__rtems__) #if defined(__CYGWIN__) || defined(__rtems__)
int _EXFUN(getdtablesize, (void));
void _EXFUN(setdtablesize, (int));
unsigned _EXFUN(usleep, (unsigned int __useconds)); unsigned _EXFUN(usleep, (unsigned int __useconds));
int _EXFUN(ftruncate, (int __fd, off_t __length)); int _EXFUN(ftruncate, (int __fd, off_t __length));
int _EXFUN(truncate, (const char *, off_t __length)); int _EXFUN(truncate, (const char *, off_t __length));