about summary refs log tree commit diff
path: root/signal
diff options
context:
space:
mode:
Diffstat (limited to 'signal')
-rw-r--r--signal/Makefile2
-rw-r--r--signal/signal.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/signal/Makefile b/signal/Makefile
index 6957953ba7..d3337385c9 100644
--- a/signal/Makefile
+++ b/signal/Makefile
@@ -25,7 +25,7 @@ headers	:= signal.h sys/signal.h signum.h sigcontext.h sigaction.h sigset.h
 
 routines	:= signal raise killpg \
 		   sigaction sigprocmask kill \
-		   sigpending sigsuspend \
+		   sigpending sigsuspend sigwait \
 		   sigblock sigsetmask sigpause sigvec \
 		   sigstack sigaltstack sigintr \
 		   sigsetops sigempty sigfillset sigaddset sigdelset sigismem \
diff --git a/signal/signal.h b/signal/signal.h
index 402d15e0f9..f7b2d131ad 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -177,6 +177,11 @@ extern int sigaction __P ((int __sig, __const struct sigaction *__act,
 /* Put in SET all signals that are blocked and waiting to be delivered.  */
 extern int sigpending __P ((sigset_t *__set));
 
+
+/* Select any of pending signals from SET or wait for any to arrive.  */
+extern int __sigwait __P ((__const sigset_t *__set, int *__sig));
+extern int sigwait __P ((__const sigset_t *__set, int *__sig));
+
 #endif /* <signal.h> included.  */
 
 #endif /* Use POSIX.  */