wctob() returns EOF and not WEOF.

Noticed by:	Zhihao Yuan <lichray gmail com>
MFC after:	1 week
This commit is contained in:
delphij 2012-02-14 02:03:17 +00:00
parent 1aaa42d7bb
commit b1b5a178f6

View File

@ -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 ,