aboutsummaryrefslogtreecommitdiff
path: root/libiberty/strerror.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-09-27 20:27:58 +0000
committerDJ Delorie <dj@redhat.com>2001-09-27 20:27:58 +0000
commitfa9f0e33b3c0510267d7a41f2f4ee72ba452c37e (patch)
treeeab3f8364165c1526f7ea2a5fef4db2ebda18653 /libiberty/strerror.c
parent0ac8d2cabf050fa3d463a79240ef8e05db368b1f (diff)
downloadfsf-binutils-gdb-fa9f0e33b3c0510267d7a41f2f4ee72ba452c37e.zip
fsf-binutils-gdb-fa9f0e33b3c0510267d7a41f2f4ee72ba452c37e.tar.gz
fsf-binutils-gdb-fa9f0e33b3c0510267d7a41f2f4ee72ba452c37e.tar.bz2
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 dbc29a3..6e42f9e 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