svn commit: r238853 - head/lib/libc/string
Ed Maste
emaste at FreeBSD.org
Fri Jul 27 21:38:15 UTC 2012
Author: emaste
Date: Fri Jul 27 21:38:14 2012
New Revision: 238853
URL: http://svn.freebsd.org/changeset/base/238853
Log:
Correct BUGS description of static buffer use
Since r142667 strerror has unconditionally returned a pointer to a
static buffer.
MFC after: 1 week
Modified:
head/lib/libc/string/strerror.3
Modified: head/lib/libc/string/strerror.3
==============================================================================
--- head/lib/libc/string/strerror.3 Fri Jul 27 19:56:36 2012 (r238852)
+++ head/lib/libc/string/strerror.3 Fri Jul 27 21:38:14 2012 (r238853)
@@ -174,10 +174,10 @@ function was implemented in
by
.An Wes Peters Aq wes at 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
More information about the svn-src-all
mailing list