wcslen()

Compute the length of a wide-character string

Synopsis:

#include <wchar.h>

size_t wcslen( const wchar_t * ws );

Since:

BlackBerry 10.0.0

Arguments:

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

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

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, POSIX 1003.1

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

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus