diff options
author | Ed Maste <emaste@FreeBSD.org> | 2012-07-27 21:38:14 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2012-07-27 21:38:14 +0000 |
commit | cb75848307d0d9704377166c1eaad00011832288 (patch) | |
tree | 3a209f900801e6b1605a25bac767f4cbf1825b62 /lib/libc/string | |
parent | 614e3098036088b1de1073cbc05ef4e001e3cf2c (diff) |
Correct BUGS description of static buffer use
Since r142667 strerror has unconditionally returned a pointer to a
static buffer.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=238853
Diffstat (limited to 'lib/libc/string')
-rw-r--r-- | lib/libc/string/strerror.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/strerror.3 b/lib/libc/string/strerror.3 index 5961a84a9d83..cc2560266e77 100644 --- a/lib/libc/string/strerror.3 +++ b/lib/libc/string/strerror.3 @@ -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 |