Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

wcslen - get length of wide character string

&pagelevel(4)&pagelevel

Syntax

#include <wchar.h>

size_t wcslen(const wchar_t *ws); 

Description

wcslen() determines the length of the wide character string ws, excluding the terminating null wide character code (\0).

Return val.

Length of the wide character string ws. The terminating null wide character code (\0) is not included in the count.

Notes

A wide character string terminated with the null wide character code (\0) is expected as the argument.

Restriction
This version of the C runtime system only supports 1-byte characters as wide character codes. They are of type wchar_t (see stddef.h). (End)

See also

wchar.h.