diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | include/unistd.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index e84e0a8d34..e0b55e8522 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2002-09-17 Ulrich Drepper <drepper@redhat.com> + * include/unistd.h: Declare __libc_pause. + * include/sys/socket.h: Declare __libc_send, __libc_recv, __libc_sendto, __libc_sendmsg, __libc_recvmsg, and __libc_accept. diff --git a/include/unistd.h b/include/unistd.h index 017563c1ac..cc5cfcc518 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -144,4 +144,8 @@ extern void __exit_thread (int val) __attribute__ ((noreturn)); /* Internal name for fork function. */ extern __pid_t __libc_fork (void); +/* Suspend the process until a signal arrives. + This always returns -1 and sets `errno' to EINTR. */ +extern int __libc_pause (void); + #endif |