1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-16 01:22:18 +03:00
Files
gnulib/doc/posix-functions/btowc.texi
Paul Eggert f3852a93c7 btowc: document problems in C locale
* doc/posix-functions/btowc.texi (btowc): Mention incompatibility
with mbrtowc.  See: http://bugs.gnu.org/23269#32
2016-04-19 09:12:18 -07:00

32 lines
862 B
Plaintext

@node btowc
@section @code{btowc}
@findex btowc
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/btowc.html}
Gnulib module: btowc
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Minix 3.1.8, HP-UX 11.00, IRIX 5.3, Solaris 2.6, mingw, Interix 3.5.
@item
This function returns WEOF for a NUL argument on some platforms:
Cygwin 1.7.2.
@item
This function does not return WEOF for an EOF argument on some platforms:
IRIX 6.5.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
On AIX and Windows platforms, @code{wchar_t} is a 16-bit type and therefore cannot
accommodate all Unicode characters.
@item
In the C or POSIX locales, this function is not consistent with
Gnulib's @code{mbrtowc} and can return @code{WEOF}:
glibc 2.23, MirOS BSD #10.
@end itemize