strsignal.3: Note that starting with v2.32, glibc no longer exports 'sys_siglist'

Reported-by: Hauke Fath <hf@spg.tu-darmstadt.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-10-02 12:59:41 +02:00
parent fdecdf810f
commit 2d71151934
1 changed files with 8 additions and 2 deletions

View File

@ -72,13 +72,13 @@ number passed in the argument
The string can be used only until the next call to
.BR strsignal ().
.PP
The array
The (deprecated) array
.I sys_siglist
holds the signal description strings
indexed by signal number.
The
.BR strsignal ()
function should be used instead of this array.
function should be used instead of this array; see also VERSIONS.
.SH RETURN VALUE
The
.BR strsignal ()
@ -86,6 +86,12 @@ function returns the appropriate description
string, or an unknown signal message if the signal number is invalid.
On some systems (but not on Linux), NULL may instead be
returned for an invalid signal number.
.SH VERSIONS
Starting with version 2.32,
.\" glibc commit b1ccfc061feee9ce616444ded8e1cd5acf9fa97f
the
.I sys_siglist
symbol is no longer exported by glibc.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).