aboutsummaryrefslogtreecommitdiffstats
path: root/man7
diff options
context:
space:
mode:
authorAlejandro Colomar <colomar.6.4.3@gmail.com>2020-09-18 19:04:37 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-09-18 23:05:49 +0200
commitbcae58d752855dd51929f6f6b1b15154b79b199e (patch)
tree5f39328fbed88ef60b5769bab25939b88b6ed910 /man7
parent8d1c20e01ed2a9149f147b536218ee471da357d0 (diff)
downloadman-pages-bcae58d752855dd51929f6f6b1b15154b79b199e.tar.gz
system_data_types.7: Document sigevent
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7')
-rw-r--r--man7/system_data_types.757
1 files changed, 52 insertions, 5 deletions
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 6f84a026f3..5bf2d77a96 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -130,6 +130,51 @@ and
.I ssize_t
types in this page.
.TP
+.I sigevent
+.IP
+Include:
+.IR <signal.h> ;
+or
+.I <aio.h>
+or
+.I <mqueue.h>
+or
+.IR <time.h> .
+.IP
+.EX
+struct sigevent {
+ int sigev_notify; /* Notification type */
+ int sigev_signo; /* Signal number */
+ union sigval sigev_value; /* Signal value */
+ void (*sigev_notify_function)(union sigval);
+ /* Notification function */
+ pthread_attr_t *sigev_notify_attributes;
+ /* Notification attributes */
+};
+.EE
+.\".IP
+.\" FIXME: Add a description?
+.IP
+Conforming to: POSIX.1-2001 and later.
+.IP
+Notes:
+.I <aio.h>
+and
+.I <time.h>
+define
+.I sigevent
+since POSIX.1-2008.
+.IP
+See also:
+.BR timer_create (2),
+.BR getaddrinfo_a (3),
+.BR lio_listio (3),
+.BR mq_notify (3)
+.\".IP
+.\"See also the
+.\".I aiocb FIXME
+.\"structure in this page.
+.TP
.I sigval
.IP
Include:
@@ -150,12 +195,14 @@ See also:
.BR pthread_sigqueue (3),
.BR sigqueue (3),
.BR sigevent (7)
-.\".IP
-.\"See also the
-.\".I sigevent FIXME
-.\"structure and the
+.IP
+See also the
+.I sigevent
+structure
+.\"and the
.\".I siginfo_t FIXME
-.\"type in this page.
+.\"type
+in this page.
.TP
.I size_t
.IP