aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-04-13 15:37:47 +0000
committerChristopher Faylor <me@cgf.cx>2001-04-13 15:37:47 +0000
commita25b8414aca039dd067de92a30eec17995deaff9 (patch)
tree8f068350a705c0d600c2f07658ddc42620ba7bf8
parent1114d47268d33f167c5bf2e931aa7fa0485acae0 (diff)
downloadnewlib-a25b8414aca039dd067de92a30eec17995deaff9.zip
newlib-a25b8414aca039dd067de92a30eec17995deaff9.tar.gz
newlib-a25b8414aca039dd067de92a30eec17995deaff9.tar.bz2
* libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/sys/unistd.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index d4e60ec..db34abb 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-13 Robert Collins <rbtcollins@hotmail.com>
+
+ * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
+
Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index 0fad0dc..fc8c25a 100644
--- a/newlib/libc/include/sys/unistd.h
+++ b/newlib/libc/include/sys/unistd.h
@@ -65,6 +65,9 @@ int _EXFUN(nice, (int __nice_value ));
off_t _EXFUN(lseek, (int __fildes, off_t __offset, int __whence ));
long _EXFUN(pathconf, (const char *__path, int __name ));
int _EXFUN(pause, (void ));
+#ifdef __CYGWIN__
+int _EXFUN(pthread_atfork, (void (*)(void), void (*)(void), void (*)(void)));
+#endif
int _EXFUN(pipe, (int __fildes[2] ));
_READ_WRITE_RETURN_TYPE _EXFUN(read, (int __fd, void *__buf, size_t __nbyte ));
int _EXFUN(rmdir, (const char *__path ));