From a25b8414aca039dd067de92a30eec17995deaff9 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 13 Apr 2001 15:37:47 +0000 Subject: * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only). --- newlib/ChangeLog | 4 ++++ newlib/libc/include/sys/unistd.h | 3 +++ 2 files changed, 7 insertions(+) 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 + + * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only). + Thu Apr 12 23:11:00 2001 Corinna Vinschen * 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 )); -- cgit v1.1