aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2009-11-26 13:49:37 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2009-11-26 13:49:37 +0000
commit9a6ceacede66acb56531ef673b7ab2e47961738c (patch)
tree1d70aa0b7d5fbac18fcff176e116e1f9f260c88c /include
parent5dc1529c344be90424dab94a0dba0ee29d2e4923 (diff)
downloadsrc-9a6ceacede66acb56531ef673b7ab2e47961738c.tar.gz
src-9a6ceacede66acb56531ef673b7ab2e47961738c.zip
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
Notes
Notes: svn path=/head/; revision=199827
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 fdb4b3ed6d09..1af0e360de9c 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