summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2012-02-14 02:03:17 +0000
committerdelphij <delphij@FreeBSD.org>2012-02-14 02:03:17 +0000
commitb1b5a178f65d53210175d2eeb411a33feaf04699 (patch)
treeb0d1bafa7ad2270ecf78fbce3ad046facf560727 /lib
parent1aaa42d7bb08a783bfa6f6b7baa253af48a3ca39 (diff)
downloadFreeBSD-src-b1b5a178f65d53210175d2eeb411a33feaf04699.zip
FreeBSD-src-b1b5a178f65d53210175d2eeb411a33feaf04699.tar.gz
wctob() returns EOF and not WEOF.
Noticed by: Zhihao Yuan <lichray gmail com> MFC after: 1 week
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 85ee751..9eca437 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 ,
OpenPOWER on IntegriCloud