Clarify processing of the string argument by perror().
This commit is contained in:
parent
b4be89561b
commit
94cc971811
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user