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>
This commit is contained in:
Alejandro Colomar 2020-09-18 19:04:37 +02:00 committed by Michael Kerrisk
parent 8d1c20e01e
commit bcae58d752
1 changed files with 52 additions and 5 deletions

View File

@ -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