Compute the length of a wide-character string
#include <wchar.h> size_t wcslen( const wchar_t * ws );
libc
The wcslen() function counts the wide characters in the string pointed to by ws.
The number of wide characters, not counting the terminating NUL.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | Yes |
| Signal handler | Yes |
| Thread | Yes |