From a447cd8b287c5c3557278ece86822d2db4d71768 Mon Sep 17 00:00:00 2001 From: Jeff Roberson Date: Mon, 31 Mar 2003 23:30:41 +0000 Subject: - Define sigwait, sigtimedwait, and sigwaitinfo in terms of kern_sigtimedwait() which is capable of supporting all of their semantics. - These should be POSIX compliant but more careful review is needed before we announce this. --- include/signal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/signal.h b/include/signal.h index 572cad58949e..e869e1dd0521 100644 --- a/include/signal.h +++ b/include/signal.h @@ -85,12 +85,12 @@ int sigwait(const sigset_t * __restrict, int * __restrict); * in scope (in the current implementation), so we can't use it here. */ int sigqueue(__pid_t, int, const union sigval); +#endif struct timespec; int sigtimedwait(const sigset_t * __restrict, siginfo_t * __restrict, const struct timespec * __restrict); int sigwaitinfo(const sigset_t * __restrict, siginfo_t * __restrict); #endif -#endif #if __XSI_VISIBLE int killpg(__pid_t, int); -- cgit v1.3