2 @section @code{mbsnrtowcs}
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/mbsnrtowcs.html}
7 Gnulib module: mbsnrtowcs
9 Portability problems fixed by Gnulib:
12 This function is missing on some platforms:
13 MacOS X 10.3, FreeBSD 5.2.1, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 4.3.2,
14 HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11 2010-11, Cygwin 1.5.x, mingw, MSVC 9, Interix 3.5, BeOS.
17 Portability problems not fixed by Gnulib:
20 On AIX and Windows platforms, @code{wchar_t} is a 16-bit type and therefore cannot
21 accommodate all Unicode characters.
23 The specification is not clear about whether this function should update the
24 conversion state when the first argument (the destination pointer) is NULL.
25 The glibc, MacOS X, FreeBSD implementations do update the state in this case.
26 For portability, when passing a NULL destination argument, it is best to pass
27 a pointer to a temporary copy of the conversion state.