|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Compute the length of a wide-character string
#include <wchar.h> size_t wcslen( const wchar_t * ws );
- The wide-character string whose length you want to calculate.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The wcslen() function counts the wide characters in the string pointed to by ws.
The number of wide characters, not counting the terminating NUL.