aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2012-02-14 02:03:17 +0000
committerXin LI <delphij@FreeBSD.org>2012-02-14 02:03:17 +0000
commit945aab90991bdaeabeb6ef25112975a96c01dd4e (patch)
treeb0d1bafa7ad2270ecf78fbce3ad046facf560727 /lib
parentdf2dc2b3aea0991b37135fcc4662c2fd03849933 (diff)
downloadsrc-945aab90991bdaeabeb6ef25112975a96c01dd4e.tar.gz
src-945aab90991bdaeabeb6ef25112975a96c01dd4e.zip
wctob() returns EOF and not WEOF.
Noticed by: Zhihao Yuan <lichray gmail com> MFC after: 1 week
Notes
Notes: svn path=/head/; revision=231632
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/locale/btowc.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/locale/btowc.3 b/lib/libc/locale/btowc.3
index 85ee7515f948..9eca4373c5cb 100644
--- a/lib/libc/locale/btowc.3
+++ b/lib/libc/locale/btowc.3
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 3, 2002
+.Dd February 13, 2012
.Dt BTOWC 3
.Os
.Sh NAME
@@ -58,7 +58,7 @@ If the wide character is
or not able to be represented as a single byte in the initial shift state,
.Fn wctob
returns
-.Dv WEOF .
+.Dv EOF .
.Sh SEE ALSO
.Xr mbrtowc 3 ,
.Xr multibyte 3 ,