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

Technical Reference: Base Operating System and Extensions, Volume 2

wcsspn Subroutine

Purpose

Returns the number of wide characters in the initial segment of a string.

Library

Standard C Library (libc.a)

Syntax

#include <wcstr.h>

size_t wcsspn( WcString1 WcString2)
const wchar_t *WcString1, *WcString2;

Description

The wcsspn subroutine computes the number of wchar_t characters in the initial segment of the string pointed to by the WcString1 parameter. The WcString1 parameter consists entirely of wchar_t characters from the string pointed to by the WcString2 parameter.

Parameters

WcString1 Points to the initial segment of a string.
WcString2 Points to a set of characters string.

Return Values

The wcsspn subroutine returns the number of wchar_t characters in the segment.

Related Information

The wcschr (wcscat, wcschr, wcscmp, wcscpy, or wcscspn Subroutine) subroutine, wcscspn (wcscat, wcschr, wcscmp, wcscpy, or wcscspn Subroutine) subroutine, wcspbrk (wcspbrk Subroutine) subroutine, wcsrchr (wcsrchr Subroutine) subroutine, wcstok (wcstok Subroutine) subroutine, wcswcs (wcswcs 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 Wide Character String Search 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 ]