Correct BUGS description of static buffer use
Since r142667 strerror has unconditionally returned a pointer to a static buffer. MFC after: 1 week
This commit is contained in:
parent
614e309803
commit
cb75848307
@ -174,10 +174,10 @@ function was implemented in
|
||||
by
|
||||
.An Wes Peters Aq wes@FreeBSD.org .
|
||||
.Sh BUGS
|
||||
For unknown error numbers, the
|
||||
The
|
||||
.Fn strerror
|
||||
function will return its result in a static buffer which
|
||||
may be overwritten by subsequent calls.
|
||||
function returns its result in a static buffer which
|
||||
will be overwritten by subsequent calls.
|
||||
.Pp
|
||||
The return type for
|
||||
.Fn strerror
|
||||
|
Loading…
Reference in New Issue
Block a user