Main index | Section 3 | Options |
#include <wchar.h>
If dst is NULL, no characters are stored.
If dst is not NULL, the pointer pointed to by src is updated to point to the character after the one that conversion stopped at. If conversion stops because a null character is encountered, *src is set to NULL.
The mbstate_t argument, ps, is used to keep track of the shift state. If it is NULL, wcsrtombs() uses an internal, static mbstate_t object, which is initialized to the initial conversion state at program startup.
The wcsnrtombs() function behaves identically to wcsrtombs(), except that conversion stops after reading at most nwc characters from the buffer pointed to by src.
[EILSEQ] | |
An invalid wide character was encountered. | |
[EINVAL] | |
The conversion state is invalid. | |
The wcsnrtombs() function is an extension to the standard.
WCSRTOMBS (3) | July 21, 2004 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | One of the advantages of using UNIX to teach an operating systems course is the sources and documentation will easily fit into a student's briefcase. | ” |
— John Lions |