about summary refs log tree commit diff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-09-17 18:00:04 +0000
committerUlrich Drepper <drepper@redhat.com>2002-09-17 18:00:04 +0000
commit65c93f621be347ed0804b65cd17d3d01d656e828 (patch)
tree22efe1de23a975ccb07a88005e6c3668f1d27432 /include/unistd.h
parent91d293772bcde2865d09f706bdd21c83ccedc365 (diff)
downloadglibc-65c93f621be347ed0804b65cd17d3d01d656e828.tar.gz
glibc-65c93f621be347ed0804b65cd17d3d01d656e828.tar.xz
glibc-65c93f621be347ed0804b65cd17d3d01d656e828.zip
Update.
	* include/unistd.h: Declare __libc_pause.
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h4
1 files changed, 4 insertions, 0 deletions
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