[Previous] [Contents] [Next]

wcslen()

Compute the length of a string

Synopsis:

#include <wchar.h>

size_t wcslen( const wchar_t * ws );

Library:

libc

Description:

The wcslen() function computes the number of wide characters in the string pointed to by ws.

Returns:

The number of wide characters, not counting the terminating NUL.

Classification:

ANSI

Safety:
Cancellation point No
Interrupt handler Yes
Signal handler Yes
Thread Yes

See also:

"String manipulation functions" and "Wide-character functions" in the summary of functions chapter.


[Previous] [Contents] [Next]