wctob() returns EOF and not WEOF.
Noticed by: Zhihao Yuan <lichray gmail com> MFC after: 1 week
This commit is contained in:
parent
1aaa42d7bb
commit
b1b5a178f6
@ -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 ,
|
||||
|
Loading…
x
Reference in New Issue
Block a user