[ Previous | Next | Table of 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.

Implementation Specifics

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

Related Information

The mbslen subroutine, wctomb (wctomb Subroutine) subroutine.

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


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