aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorRobert Nordier <rnordier@FreeBSD.org>1998-10-29 21:59:38 +0000
committerRobert Nordier <rnordier@FreeBSD.org>1998-10-29 21:59:38 +0000
commit94cc9718114cc3d058300cd9d5214ab62d51ad1e (patch)
tree353bd037581a822d1a8d6954f17d7e716f27adba /lib/libc/string
parentb4be89561bcc0427aa88f5552b851192b579bf27 (diff)
Clarify processing of the string argument by perror().
Notes
Notes: svn path=/head/; revision=40734
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/strerror.313
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/libc/string/strerror.3 b/lib/libc/string/strerror.3
index 67c22db97f80..498eba0af7ec 100644
--- a/lib/libc/string/strerror.3
+++ b/lib/libc/string/strerror.3
@@ -80,16 +80,13 @@ standard error file descriptor.
If the argument
.Fa string
is
-.Pf non- Dv NULL ,
-it is prepended to the message
+.Pf non- Dv NULL
+or points to the null character,
+this string is prepended to the message
string and separated from it by
a colon and space
-.Pq Ql \&:\ \& .
-If
-.Fa string
-is
-.Dv NULL ,
-only the error message string is printed.
+.Pq Ql \&:\ \& ;
+otherwise, only the error message string is printed.
.Pp
If
.Fa errnum