aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-08-07 16:49:59 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-08-07 16:49:59 -0300
commit268ed383b57aa136d2e3a40be18a41cadba9e052 (patch)
treed351e25d1e80511d42b58c19c48f2f2039363026
parentb7dd366dbeeff3016d0554c08a5f5c8cfe4c31d1 (diff)
downloadglibc-268ed383b57aa136d2e3a40be18a41cadba9e052.zip
glibc-268ed383b57aa136d2e3a40be18a41cadba9e052.tar.gz
glibc-268ed383b57aa136d2e3a40be18a41cadba9e052.tar.bz2
manual: Fix strerrorname_np and strerrordesc_np return type (BZ #26343)
-rw-r--r--manual/errno.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/errno.texi b/manual/errno.texi
index 6ca5665..7ac1554 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