From 2d71151934d611f2d4f66bf02ec5445e8402a0df Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 2 Oct 2020 12:59:41 +0200 Subject: [PATCH] strsignal.3: Note that starting with v2.32, glibc no longer exports 'sys_siglist' Reported-by: Hauke Fath Signed-off-by: Michael Kerrisk --- man3/strsignal.3 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/man3/strsignal.3 b/man3/strsignal.3 index 465e1dc0bc..872c50910f 100644 --- a/man3/strsignal.3 +++ b/man3/strsignal.3 @@ -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). -- 2.47.2