diff options
Diffstat (limited to 'signal')
-rw-r--r-- | signal/Makefile | 2 | ||||
-rw-r--r-- | signal/signal.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/signal/Makefile b/signal/Makefile index 6957953..d333738 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 402d15e..f7b2d13 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. */ |