[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Base Operating System and Extensions Technical Reference, 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.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The mbslen subroutine, wctomb subroutine.

National Language Support Overview for Programming, Subroutines Overview, Understanding Multibyte Code and Wide Character Code Conversion Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.


[ Previous | Next | Contents | Glossary | Home | Search ]