From 65c93f621be347ed0804b65cd17d3d01d656e828 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 17 Sep 2002 18:00:04 +0000 Subject: Update. * include/unistd.h: Declare __libc_pause. --- include/unistd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/unistd.h') 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 -- cgit v1.2.3