aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-10-10 00:28:49 +0000
committerChristopher Faylor <me@cgf.cx>2000-10-10 00:28:49 +0000
commita8018ef3361ec589af8f655032946db2ed3a9f45 (patch)
treec29e6f04b3b3fc9b7390944a2b5aceeb6b49ee58
parentdc7f5226eba35da572fad55a7db40382af292469 (diff)
downloadnewlib-a8018ef3361ec589af8f655032946db2ed3a9f45.zip
newlib-a8018ef3361ec589af8f655032946db2ed3a9f45.tar.gz
newlib-a8018ef3361ec589af8f655032946db2ed3a9f45.tar.bz2
* libc/include/sys/unistd.h: Add getdtablesize and setdtablesize declarations
for __CYGWIN__.
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/sys/unistd.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 55ecc35..c50e990 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -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>
* libc/signal/signal.c (__sigtramp_r): ISO C requires
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index c2294b2..928aa89 100644
--- a/newlib/libc/include/sys/unistd.h
+++ b/newlib/libc/include/sys/unistd.h
@@ -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[] ));
#if defined(__CYGWIN__) || defined(__rtems__)
+int _EXFUN(getdtablesize, (void));
+void _EXFUN(setdtablesize, (int));
unsigned _EXFUN(usleep, (unsigned int __useconds));
int _EXFUN(ftruncate, (int __fd, off_t __length));
int _EXFUN(truncate, (const char *, off_t __length));