summaryrefslogtreecommitdiffstats
path: root/sys/sys/signal.h
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 /sys/sys/signal.h
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 '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 81d45a9..ff2d1fc 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.
OpenPOWER on IntegriCloud