Content-type: text/html Man page of wcschr

wcschr

Section: C Library Functions (3)
Index Return to Main Contents
 

NAME

wcschr, wcsrchr - Search for the first or last occurrence of a wide character in a wide-character string  

LIBRARY

Standard C Library (libc.so, libc.a)  

SYNOPSIS

#include <wchar.h>

wchar_t *wcschr(        const wchar_t *wcstring,
       wint_t widecharacter);

wchar_t *wcsrchr(        const wchar_t *wcstring,
       wint_t widecharacter);
 

STANDARDS

Interfaces documented on this reference page conform to industry standards as follows:

wcschr(), wcsrchr(): ISO C, XPG4

Refer to the standards(5) reference page for more information about industry standards and associated tags.  

PARAMETERS

Points to a string to search. Specifies a wide character to locate.  

DESCRIPTION

The wcschr() function locates the first occurrence of the widecharacter in the string pointed to by the wcstring parameter. The wcsrchr() function locates the last occurrence of the widecharacter parameter. The terminating null wide character is considered to be part of the string.  

RETURN VALUES

The wcschr() and wcsrchr() functions return a pointer to the widecharacter parameter, or a null pointer if widecharacter does not occur in the string.  

RELATED INFORMATION

Functions: strchr(3), wcsstr(3), wcswcs(3)

Standards: standards(5) delim off


 

Index

NAME
LIBRARY
SYNOPSIS
STANDARDS
PARAMETERS
DESCRIPTION
RETURN VALUES
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:40:54 GMT, October 02, 2010