mirror of https://github.com/mkerrisk/man-pages
sigevent.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
0b62a2e3bd
commit
65c0f42710
|
@ -30,25 +30,25 @@ sigevent \- structure for notification from asynchronous routines
|
|||
.nf
|
||||
#include <signal.h>
|
||||
.PP
|
||||
union sigval { /* Data passed with notification */
|
||||
int sival_int; /* Integer value */
|
||||
void *sival_ptr; /* Pointer value */
|
||||
union sigval { /* Data passed with notification */
|
||||
int sival_int; /* Integer value */
|
||||
void *sival_ptr; /* Pointer value */
|
||||
};
|
||||
.PP
|
||||
struct sigevent {
|
||||
int sigev_notify; /* Notification method */
|
||||
int sigev_signo; /* Notification signal */
|
||||
union sigval sigev_value; /* Data passed with
|
||||
notification */
|
||||
void (*sigev_notify_function) (union sigval);
|
||||
/* Function used for thread
|
||||
notification (SIGEV_THREAD) */
|
||||
void *sigev_notify_attributes;
|
||||
/* Attributes for notification thread
|
||||
(SIGEV_THREAD) */
|
||||
pid_t sigev_notify_thread_id;
|
||||
/* ID of thread to signal (SIGEV_THREAD_ID);
|
||||
Linux-specific */
|
||||
int sigev_notify; /* Notification method */
|
||||
int sigev_signo; /* Notification signal */
|
||||
union sigval sigev_value;
|
||||
/* Data passed with notification */
|
||||
void (*sigev_notify_function) (union sigval);
|
||||
/* Function used for thread
|
||||
notification (SIGEV_THREAD) */
|
||||
void *sigev_notify_attributes;
|
||||
/* Attributes for notification thread
|
||||
(SIGEV_THREAD) */
|
||||
pid_t sigev_notify_thread_id;
|
||||
/* ID of thread to signal
|
||||
(SIGEV_THREAD_ID); Linux-specific */
|
||||
};
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
|
Loading…
Reference in New Issue