summaryrefslogtreecommitdiff
path: root/libiberty/strerror.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-09-27 20:27:58 +0000
committerDJ Delorie <dj@delorie.com>2001-09-27 20:27:58 +0000
commita162569b0652c18ecdcdb77a14b388c05067c4db (patch)
tree6e3fea1bfb452f52113c9a21fc0ee1e3f6568eb6 /libiberty/strerror.c
parent4666a5a22845b7e95321df0ca346fcf324062e39 (diff)
downloadgdb-a162569b0652c18ecdcdb77a14b388c05067c4db.tar.gz
merge from gcc
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