Hi Eric, On 5/19/23 12:26, Eric Wong wrote: > The actual field names omit the 'g', matching sigevent.7. > > Signed-off-by: Eric Wong <e@xxxxxxxxx> Patch applied. Thanks! Alex > --- > I really don't understand why the 'g' is omitted to give us > this footgun; `struct sigevent' has longer field names... v0v Confusing it is :) > > man7/system_data_types.7 | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 > index 6bbf71004..1840a40fa 100644 > --- a/man7/system_data_types.7 > +++ b/man7/system_data_types.7 > @@ -183,8 +183,8 @@ POSIX.1-2001 and later. > .PP > .EX > union sigval { > - int sigval_int; /* Integer value */ > - void *sigval_ptr; /* Pointer value */ > + int sival_int; /* Integer value */ > + void *sival_ptr; /* Pointer value */ > }; > .EE > .PP -- <http://www.alejandro-colomar.es/> GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature