Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 17 Sep 2002 18:00:04 +0000 (18:00 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 17 Sep 2002 18:00:04 +0000 (18:00 +0000)
* include/unistd.h: Declare __libc_pause.

ChangeLog
include/unistd.h

index e84e0a8d34b9a99885f78ab842ebb59e7fe430d2..e0b55e85227fe7ea463981596d8984c0edeca063 100644 (file)
--- 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.
 
index 017563c1ac10dd47eb4bdccb9aac2194485df6d4..cc5cfcc518755fa134e082891cff72e93c6046a6 100644 (file)
@@ -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