From 945aab90991bdaeabeb6ef25112975a96c01dd4e Mon Sep 17 00:00:00 2001 From: Xin LI Date: Tue, 14 Feb 2012 02:03:17 +0000 Subject: [PATCH] wctob() returns EOF and not WEOF. Noticed by: Zhihao Yuan MFC after: 1 week --- lib/libc/locale/btowc.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/locale/btowc.3 b/lib/libc/locale/btowc.3 index 85ee7515f94..9eca4373c5c 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 ,