From: Adhemerval Zanella Date: Fri, 7 Aug 2020 19:49:59 +0000 (-0300) Subject: manual: Fix strerrorname_np and strerrordesc_np return type (BZ #26343) X-Git-Tag: glibc-2.33~577 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=268ed383b57aa136d2e3a40be18a41cadba9e052;p=thirdparty%2Fglibc.git manual: Fix strerrorname_np and strerrordesc_np return type (BZ #26343) --- diff --git a/manual/errno.texi b/manual/errno.texi index 6ca566522d3..7ac1554bb1f 100644 --- a/manual/errno.texi +++ b/manual/errno.texi @@ -1207,7 +1207,7 @@ to @code{errno}. The function @code{perror} is declared in @file{stdio.h}. @end deftypefun -@deftypefun void strerrorname_np (int @var{errnum}) +@deftypefun const char * strerrorname_np (int @var{errnum}) @standards{GNU, string.h} @safety{@mtsafe{}@assafe{}@acsafe{}} This function returns the name describing the error @var{errnum} or @@ -1218,7 +1218,7 @@ for @code{EINVAL}). This function is a GNU extension, declared in the header file @file{string.h}. @end deftypefun -@deftypefun void strerrordesc_np (int @var{errnum}) +@deftypefun const char * strerrordesc_np (int @var{errnum}) @standards{GNU, string.h} @safety{@mtsafe{}@assafe{}@acsafe{}} This function returns the message describing the error @var{errnum} or