[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 2

wcslen Subroutine

Purpose

Determines the number of characters in a wide-character string.

Library

Standard C Library (libc.a)

Syntax

#include <wcstr.h>

size_t wcslen( WcString)
const wchar_t *WcString;

Description

The wcslen subroutine computes the number of wchar_t characters in the string pointed to by the WcString parameter.

Parameters

WcString Specifies a wide-character string.

Return Values

The wcslen subroutine returns the number of wchar_t characters that precede the terminating wchar_t null character.

Related Information

The mbslen subroutine, wctomb (wctomb Subroutine) subroutine.

Subroutines, Example Programs, and Libraries in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.

National Language Support Overview and Multibyte Code and Wide Character Code Conversion Subroutines in AIX 5L Version 5.2 National Language Support Guide and Reference.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]