Re: [BUG] sigaction.2: s/sigval_t/union sigval/

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

 



Hello Alex,

On Wed, 16 Sep 2020 at 15:14, Alejandro Colomar <colomar.6.4.3@xxxxxxxxx> wrote:
>
> Hi Michael,
>
> sigaction.2 uses the name 'sigval_t', which is:
>
>
> // <x86_64-linux-gnu/bits/types/__sigval_t.h>
> /* Type for data associated with a signal.  */
> #ifdef __USE_POSIX199309
> union sigval
> {
>    int sival_int;
>    void *sival_ptr;
> };
>
> typedef union sigval __sigval_t;
> #else
> union __sigval
> {
>    int __sival_int;
>    void *__sival_ptr;
> };
>
> typedef union __sigval __sigval_t;
> #endif
>
>
> and then:
>
> x86_64-linux-gnu/bits/types/sigval_t.h:16:typedef __sigval_t sigval_t;
>
>
> I think the man page should use the POSIX naming, shouldn't it?

Yes, it should. Thanks for spotting that. I've fixed it.

> ___________
>
> BTW:  I sent Draft v6 for system_data_types.7 2h+ ago, but I don't see
> it on lore.kernel.org.
>
> Did you receive it?  Should I wait, or send it again?

So far, I didn't see anything except v6, about 3.5 hours ago.

Thanks,

Michael


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