From bcae58d752855dd51929f6f6b1b15154b79b199e Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Fri, 18 Sep 2020 19:04:37 +0200 Subject: [PATCH] system_data_types.7: Document sigevent Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- man7/system_data_types.7 | 57 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 52 insertions(+), 5 deletions(-) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 6f84a026f..5bf2d77a9 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 ; +or +.I +or +.I +or +.IR . +.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 +and +.I +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