[Previous] [Contents] [Index] [Next]

wcslen()

Compute the length of a wide-character string

Synopsis:

#include <wchar.h>

size_t wcslen( const wchar_t * ws );

Arguments:

ws
The wide-character string whose length you want to calculate.

Library:

libc

Description:

The wcslen() function counts the 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:

strlen()


[Previous] [Contents] [Index] [Next]