Content-type: text/html Man page of wcslen

wcslen

Section: C Library Functions (3)
Index Return to Main Contents
 

NAME

wcslen - Finds length of wide-character string  

LIBRARY

Standard C Library (libc.so, libc.a)  

SYNOPSIS

#include <wchar.h>

size_t wcslen(
        const wchar_t *wstr);  

STANDARDS

Interfaces documented on this reference page conform to industry standards as follows:

wcslen(): ISO C, XPG4

Refer to the standards(5) reference page for more information about industry standards and associated tags.  

PARAMETERS

Specifies the wide-character string.  

DESCRIPTION

The wcslen() function returns the number of wide characters, excluding the terminating null wide character, in the string pointed to by the wstr parameter.  

RETURN VALUES

Upon successful completion, the wcslen() function returns the number of wide characters in the string to which the wstr parameter points.

[Digital]  The function returns (size_t)-1 if *wstr is not a valid pointer.  

RELATED INFORMATION

Functions: mbstowcs(3), string(3), strlen(3), wcscat(3), wcsstr(3), wcswcs(3) delim off


 

Index

NAME
LIBRARY
SYNOPSIS
STANDARDS
PARAMETERS
DESCRIPTION
RETURN VALUES
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:41:08 GMT, October 02, 2010