|
NAMEwcsrtombs , wcsnrtombs —
convert a wide-character string to a character string
(restartable)
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <wchar.h>
size_t
size_t
DESCRIPTIONThewcsrtombs () function converts a string of wide
characters indirectly pointed to by src to a
corresponding multibyte character string stored in the array pointed to by
dst. No more than len bytes are
written to dst.
If dst is If dst is not The mbstate_t argument,
ps, is used to keep track of the shift state. If it is
The RETURN VALUESThewcsrtombs () and wcsnrtombs ()
functions return the number of bytes stored in the array pointed to by
dst (not including any terminating null), if successful,
otherwise it returns (size_t)-1.
ERRORSThewcsrtombs () and wcsnrtombs ()
functions will fail if:
SEE ALSOmbsrtowcs(3), wcrtomb(3), wcstombs(3)STANDARDSThewcsrtombs () function conforms to
ISO/IEC 9899:1999 (“ISO C99”).
The
Visit the GSP FreeBSD Man Page Interface. |