wcstombs()

Defined in wchar.h, this function works as described in the ISO C standard, with extended functionality as specified by POSIX, that is, if s is a NULL pointer, wcstombs() returns the length required to convert the entire array regardless of the value of n, but no values are stored.

Show/hideSyntax

size_t wcstombs(char *s, const wchar_t *pwcs, size_t n);
Copyright © 2014 ARM. All rights reserved.ARM DUI 0809A
Non-ConfidentialID031214