summaryrefslogtreecommitdiff
path: root/libiberty/strerror.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@is.elta.co.il>2001-09-27 21:55:37 +0200
committerDJ Delorie <dj@gcc.gnu.org>2001-09-27 15:55:37 -0400
commite922f9785cea44a5923598d4e7a72352a42df737 (patch)
tree480abcb54fa75ec1846629eeafcf764889c4f370 /libiberty/strerror.c
parentae9092da9647424668486f76d322bbc8351857c4 (diff)
libiberty.texi: (Top level): Add syncodeindex pg.
* 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. From-SVN: r45847
Diffstat (limited to 'libiberty/strerror.c')
-rw-r--r--libiberty/strerror.c10
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