Re: [PATCH 3/9] system_data_types.7: Document sigevent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Alex,

On 9/18/20 7:04 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <colomar.6.4.3@xxxxxxxxx>
> ---
>  man7/system_data_types.7 | 57 ++++++++++++++++++++++++++++++++++++----
>  1 file changed, 52 insertions(+), 5 deletions(-)


Thanks, Alex. Patch applied. I added a line re description, 
deferring to sigevent(7).

Cheers,

Michael


> diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
> index 48871e4eb..53c289e31 100644
> --- a/man7/system_data_types.7
> +++ b/man7/system_data_types.7
> @@ -133,6 +133,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:
> @@ -153,12 +198,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
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux