diff options
author | rnordier <rnordier@FreeBSD.org> | 1998-10-29 21:59:38 +0000 |
---|---|---|
committer | rnordier <rnordier@FreeBSD.org> | 1998-10-29 21:59:38 +0000 |
commit | d023e194f95cb74427b233ad532c65580b7fb138 (patch) | |
tree | 85230021491ad7aa59cea6bf27b774b1326e1b10 /lib/libc/string | |
parent | 25b0d92fe5e4f82fd1dca90c1fbe8f890e166dd8 (diff) | |
download | FreeBSD-src-d023e194f95cb74427b233ad532c65580b7fb138.zip FreeBSD-src-d023e194f95cb74427b233ad532c65580b7fb138.tar.gz |
Clarify processing of the string argument by perror().
Diffstat (limited to 'lib/libc/string')
-rw-r--r-- | lib/libc/string/strerror.3 | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/libc/string/strerror.3 b/lib/libc/string/strerror.3 index 67c22db..498eba0 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 |