]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
manual: Fix sigdescr_np and sigabbrev_np return type (BZ #26343)
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Sat, 8 Aug 2020 19:49:53 +0000 (16:49 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Sat, 8 Aug 2020 19:51:26 +0000 (16:51 -0300)
manual/signal.texi

index c300a3c9df1552e901e73f16f1f48f073f5c0ac1..8a12baf04428e9cc53d6772cecf575fdfc858fa2 100644 (file)
@@ -880,7 +880,7 @@ to @var{signum}.
 This function is a BSD feature, declared in the header file @file{signal.h}.
 @end deftypefun
 
-@deftypefun void sigdescr_np (int @var{signum})
+@deftypefun {const char *} sigdescr_np (int @var{signum})
 @standards{GNU, string.h}
 @safety{@mtsafe{}@assafe{}@acsafe{}}
 This function returns the message describing the signal @var{signum} or
@@ -893,7 +893,7 @@ of the program.
 This function is a GNU extension, declared in the header file @file{string.h}.
 @end deftypefun
 
-@deftypefun void sigabbrev_np (int @var{signum})
+@deftypefun {const char *} sigabbrev_np (int @var{signum})
 @standards{GNU, string.h}
 @safety{@mtsafe{}@assafe{}@acsafe{}}
 This function returns the abbreviation describing the signal @var{signum} or