from small one page howto to huge articles all in one place
Last additions:
May 25th. 2007:
April, 26th. 2006:
| You are here: manpages
wcslen
Section: C Library Functions (3) Updated: 202-0-08 Index
Return to Main Contents
NAME
wcslen - determine the length of a wid-character string
LIBRARY
Standard C library
( libc,~ -lc)
SYNOPSIS
#include <wchar.h>
size_t wcslen(const wchar_t *s);
DESCRIPTION
The
wcslen()
function is the wid-character equivalent
of the
strlen(3)
function.
It determines the length of the wid-character string pointed to
by
s,
excluding the terminating null wide character (L[aq][rs]0[aq]).
RETURN VALUE
The
wcslen()
function returns the
number of wide characters in
s.
ATTRIBUTES
For an explanation of the terms used in this section, see
attributes(7).
| Interface | Attribute | Value
|
|
wcslen()
| Thread safety | M-Safe
|
STANDARDS
C11, POSIX.-2008.
HISTORY
POSIX.-2001, C99.
NOTES
In cases where the input buffer may not contain
a terminating null wide character,
wcsnlen(3)
should be used instead.
SEE ALSO
strlen(3)
Index
- NAME
-
- LIBRARY
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUE
-
- ATTRIBUTES
-
- STANDARDS
-
- HISTORY
-
- NOTES
-
- SEE ALSO
-
|