public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] manual: Fix strerrorname_np and strerrordesc_np return type (BZ #26343)
@ 2020-08-07 19:52 Adhemerval Zanella
0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2020-08-07 19:52 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=268ed383b57aa136d2e3a40be18a41cadba9e052
commit 268ed383b57aa136d2e3a40be18a41cadba9e052
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Aug 7 16:49:59 2020 -0300
manual: Fix strerrorname_np and strerrordesc_np return type (BZ #26343)
Diff:
---
manual/errno.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/manual/errno.texi b/manual/errno.texi
index 6ca566522d..7ac1554bb1 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-07 19:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-07 19:52 [glibc] manual: Fix strerrorname_np and strerrordesc_np return type (BZ #26343) Adhemerval Zanella
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).