[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume 2

wcslen Subroutine


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


Standard C Library (libc.a)


#include <wcstr.h>

size_t wcslen(WcString)
const wchar_t *WcString;


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


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 ]