2 @section @code{mbsrtowcs}
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/mbsrtowcs.html}
7 Gnulib module: mbsrtowcs
9 Portability problems fixed by Gnulib:
12 This function is missing on some platforms:
13 HP-UX 11.00, IRIX 6.5, Solaris 2.6, mingw, Interix 3.5.
15 This function does not work on some platforms:
16 HP-UX 11, Solaris 11 2010-11.
18 This function does not work when the first argument is NULL on some platforms:
22 Portability problems not fixed by Gnulib:
25 On AIX and Windows platforms, @code{wchar_t} is a 16-bit type and therefore cannot
26 accommodate all Unicode characters.
28 The specification is not clear about whether this function should update the
29 conversion state when the first argument (the destination pointer) is NULL.
30 The glibc implementation does not update the state in this case; the MacOS X
31 and FreeBSD implementations do.
32 For portability, when passing a NULL destination argument, it is best to pass
33 a pointer to a temporary copy of the conversion state.