sigaction.2: s/sigval_t/union sigval/
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
Hello Alex,
Quoted 27 lines · Alejandro Colomar
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
Quoted 6 lines
and then:
x86_64-linux-gnu/bits/types/sigval_t.h:16:typedef
__sigval_tsigval_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.
Quoted 6 lines
___________
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
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/