summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2009-11-26 13:49:37 +0000
committerkib <kib@FreeBSD.org>2009-11-26 13:49:37 +0000
commit878f33c39357795d6a94d97a21c503a52b96cb9e (patch)
tree1d70aa0b7d5fbac18fcff176e116e1f9f260c88c /include
parenta5ec5de71c3dddde8033e4f88627b7a80d430af1 (diff)
downloadFreeBSD-src-878f33c39357795d6a94d97a21c503a52b96cb9e.zip
FreeBSD-src-878f33c39357795d6a94d97a21c503a52b96cb9e.tar.gz
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
Diffstat (limited to 'include')
-rw-r--r--include/signal.h7
1 files changed, 6 insertions, 1 deletions
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
OpenPOWER on IntegriCloud