SysTutorials

Linux Manual Pages › Section 3

wcslen(3)

wcslen – determine the length of a wide-character string

Synopsis

#include <wchar.h>
size_t wcslen(const wchar_t *s);

Description

The wcslen() function is the wide-character equivalent of the strlen(3) function. It determines the length of the wide-character string pointed to by s, excluding the terminating null wide character (L’