4.58 wcstombs()

Defined in wchar.h, the wcstombs() 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.


size_t wcstombs(char *s, const wchar_t *pwcs, size_t n);
Non-ConfidentialPDF file icon PDF versionARM DUI0475M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.