aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/signal.h
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 /sys/sys/signal.h
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 'sys/sys/signal.h')
-rw-r--r--sys/sys/signal.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index 81d45a9cc425..ff2d1fcbed29 100644
--- a/sys/sys/signal.h
+++ b/sys/sys/signal.h
@@ -119,9 +119,8 @@
#define SIG_DFL ((__sighandler_t *)0)
#define SIG_IGN ((__sighandler_t *)1)
#define SIG_ERR ((__sighandler_t *)-1)
-/*
- * XXX missing SIG_HOLD.
- */
+/* #define SIG_CATCH ((__sighandler_t *)2) See signalvar.h */
+#define SIG_HOLD ((__sighandler_t *)3)
/*-
* Type of a signal handling function.