From 878f33c39357795d6a94d97a21c503a52b96cb9e Mon Sep 17 00:00:00 2001 From: kib Date: Thu, 26 Nov 2009 13:49:37 +0000 Subject: Implement sighold, sigignore, sigpause, sigrelse, sigset functions from SUSv4 XSI. Note that the functions are obsoleted, and only provided to ease porting from System V-like systems. Since sigpause already exists in compat with different interface, XSI sigpause is named xsi_sigpause. Reviewed by: davidxu MFC after: 3 weeks --- include/signal.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/signal.h') diff --git a/include/signal.h b/include/signal.h index fdb4b3e..1af0e36 100644 --- a/include/signal.h +++ b/include/signal.h @@ -99,7 +99,12 @@ int sigwaitinfo(const sigset_t * __restrict, siginfo_t * __restrict); #if __XSI_VISIBLE int killpg(__pid_t, int); int sigaltstack(const stack_t * __restrict, stack_t * __restrict); -int sigpause(int); +int sighold(int sig); +int sigignore(int sig); +int sigpause(int sigmask); +int sigrelse(int sig); +void (*sigset(int sig, void (*disp)(int)))(int); +int xsi_sigpause(int sig); #endif #if __XSI_VISIBLE >= 600 -- cgit v1.1