diff options
author | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-27 19:55:37 +0000 |
---|---|---|
committer | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-27 19:55:37 +0000 |
commit | 997fdf4ae03fc53ec3f494542e4009aae0d1039c (patch) | |
tree | 480abcb54fa75ec1846629eeafcf764889c4f370 /libiberty/strerror.c | |
parent | eb765d0cf14596cba56989c62631670814f93b7d (diff) | |
download | gcc-997fdf4ae03fc53ec3f494542e4009aae0d1039c.tar.gz |
* libiberty.texi: (Top level): Add syncodeindex pg. Add
@dircategory and @direntry directives. Add @finalout.
(many nodes): Lose the next,prev,up pointers on the @nide line.
(Using, Supplemental Functions, Replacement Functions): Fix
markup.
(Functions): Move around, to allow makeinfo to build the manual
without next,prev,up pointers in thye node lines.
(Licenses): Fix typos.
* index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
* functions.texi: Regenerate.
* copying-lib.texi: Lose the next,prev,up pointers on the @node
line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45847 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/strerror.c')
-rw-r--r-- | libiberty/strerror.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libiberty/strerror.c b/libiberty/strerror.c index dbc29a30f34..6e42f9ec556 100644 --- a/libiberty/strerror.c +++ b/libiberty/strerror.c @@ -608,8 +608,8 @@ strings will be the same as the ones used by @code{perror}. If the supplied error number is within the valid range of indices for the @code{sys_errlist}, but no message is available for the particular -error number, then returns the string @samp{"Error NUM"}, where NUM is -the error number. +error number, then returns the string @samp{"Error @var{num}"}, where +@var{num} is the error number. If the supplied error number is not a valid index into @code{sys_errlist}, returns NULL. @@ -675,14 +675,14 @@ symbolic name of that error number, as found in @file{errno.h}. If the supplied error number is within the valid range of indices for symbolic names, but no name is available for the particular error -number, then returns the string @samp{"Error NUM"}, where NUM is the -error number. +number, then returns the string @samp{"Error @var{num}"}, where @var{num} +is the error number. If the supplied error number is not within the range of valid indices, then returns NULL. The contents of the location pointed to are only guaranteed to be -valid until the next call to strerrno. +valid until the next call to @code{strerrno}. @end deftypefn |