Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-11-28 03:16:58 +0300
committerChristopher Faylor <me@cgf.cx>2001-11-28 03:16:58 +0300
commitab6341231fb218ca37d1a5ba5bc8d144952954e7 (patch)
tree85560bfb4eb64231f5ec74b8b50e0d078c64f77f
parent4d029f3940b1f91b5ee06ccd724c90245c9d52cc (diff)
* libc/include/sys/types.h: Define useconds_t.
* libc/include/sys/ulimit.h: Declare ualarm.
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/sys/types.h4
-rw-r--r--newlib/libc/include/sys/unistd.h1
3 files changed, 10 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index cbef2a174..a314e1322 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -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.
diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h
index e4fcef28a..9c932a62c 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 8ebabe3b4..07037b3b7 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));