* [BUG] sigaction.2: s/sigval_t/union sigval/
@ 2020-09-16 13:14 Alejandro Colomar
2020-09-16 14:29 ` Michael Kerrisk (man-pages)
0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Colomar @ 2020-09-16 13:14 UTC (permalink / raw)
To: Michael Kerrisk (man-pages); +Cc: linux-man
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?
___________
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?
Thanks,
Alex
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUG] sigaction.2: s/sigval_t/union sigval/
2020-09-16 13:14 [BUG] sigaction.2: s/sigval_t/union sigval/ Alejandro Colomar
@ 2020-09-16 14:29 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-09-16 14:29 UTC (permalink / raw)
To: Alejandro Colomar; +Cc: linux-man
Hello Alex,
On Wed, 16 Sep 2020 at 15:14, Alejandro Colomar <colomar.6.4.3@gmail.com> 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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-16 18:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-16 13:14 [BUG] sigaction.2: s/sigval_t/union sigval/ Alejandro Colomar
2020-09-16 14:29 ` Michael Kerrisk (man-pages)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox