Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wcslen(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mbstowcs(3)

string(3)

strlen(3)

wcscat(3)

wcsstr(3)

wcswcs(3)

standards(5)

wcslen(3)  —  Subroutines

NAME

wcslen − Find length of wide-character string

SYNOPSIS

#include <wchar.h>
size_t wcslen(
        const wchar_t ∗wstr );

LIBRARY

Standard C Library (libc)

STANDARDS

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

wcslen(): XSH5.0

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

PARAMETERS

wstrSpecifies 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. 

[Tru64 UNIX]  The function returns (size_t)−1 if ∗wstr is not a valid pointer. 

SEE ALSO

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

Others: standards(5)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026