#1101770 system_data_types(7): The type "union sigval" has incorrect member names. (Very easy to fix).

Package:
manpages
Source:
manpages
Submitter:
Andreas Milton Maniotis
Date:
2025-03-31 19:57:02 UTC
Severity:
normal
#1101770#5
Date:
2025-03-31 19:54:52 UTC
From:
To:
Dear Maintainer,


The union sigval is incorrectly described. Its members are called
"sival_int" and "sival_ptr". In the manpage however it writes
"sigval_int" and "sigval_ptr".

I did the following to
verify the correctness of my claim, after the compiler told me that the
identifiers sigval_int and sigval_ptr do not exist:

1) I looked up the definition in the header /usr/include/x86_64-linux-gnu/bits/types/__sigval_t.h
2) I looked up the definition in "The Linux Programming Interface" (M
Kerrisk)

In both cases I found

union sigval
{
  int sival_int;
  void *sival_ptr;
};


Since sigval is quite important a data type for signal processing I
believe that priority 3 is appropriate. (Fortunately the effort for
fixing the problem is marginal. (Replace sigval_int by sival_int and
sigval_ptr by sival_ptr in the whole document).