summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2005-12-05 04:44:39 +0000
committerdavidxu <davidxu@FreeBSD.org>2005-12-05 04:44:39 +0000
commit6b2c23ed2927aea14b0e88454921c9c31db671e3 (patch)
tree6a7a3255f9ce7ec052cd7dbde8227d667e7dbd24 /lib/libc
parent1e351478d411f60484993b6209a26619af7b89c7 (diff)
downloadFreeBSD-src-6b2c23ed2927aea14b0e88454921c9c31db671e3.zip
FreeBSD-src-6b2c23ed2927aea14b0e88454921c9c31db671e3.tar.gz
Document SIGEV_NONE and SIGEV_SIGNAL.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/mq_notify.215
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/libc/sys/mq_notify.2 b/lib/libc/sys/mq_notify.2
index f4009e4..53f55a9 100644
--- a/lib/libc/sys/mq_notify.2
+++ b/lib/libc/sys/mq_notify.2
@@ -56,6 +56,21 @@ If the calling process or any other process has already
registered for notification of message arrival at the specified message
queue, subsequent attempts to register for that message queue will fail.
.Pp
+The
+.Fa notification
+argument points to a
+.Vt sigevent
+structure that defines how the calling process will be notified.
+If notification->sigev_notify is
+.Dv SIGEV_NONE ,
+then no signal will be posted, but the error status and the return status
+for the operation will be set appropriately.
+If notification->sigev_notify is SIGEV_SIGNAL, then the signal specified
+in notification->sigev_signo will be sent to the process.
+The signal will be queued to the process and the value specified in
+notification->sigev_value will be the si_value component of the generated
+signal.
+.Pp
If
.Fa notification
is
OpenPOWER on IntegriCloud