wcschr(3) Library Functions Manual wcschr(3)NAME
wcschr, wcsrchr - Search for the first or last occurrence of a wide character in a wide-character string
LIBRARY
Standard C Library (libc)
SYNOPSIS
#include <wchar.h>
wchar_t *wcschr( const wchar_t *wcstring, wchar_t widecharacter);
wchar_t *wcsrchr( const wchar_t *wcstring, wchar_t widecharacter);
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
wcschr(), wcsrchr(): XSH5.0
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 parameter in the string pointed to by the wcstring parameter.
The wcsrchr() function locates the last occurrence of the widecharacter parameter in the string pointed to by the wcstring parameter.
The widecharacter value must be a wide-character code that corresponds to a valid character in the current locale and must be representable
as type wchar_t. The terminating null wide character is considered to be part of the string being searched.
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
wcschr(3)
Hi All,
I'm writing a script where one of the parameter is a string like:
0011001100
Then I want to do a while loop, according to the value of each character.
Could tell how I can access the value of each character in the string?
Thank you,
Gino (6 Replies)
hi all,
i have a file containing the following information :
UNIX system provides an elegant and efficient environment.
the strongest features of the Unix system is its wide collection of programs.Modern uNiX and Microsoft Windows systems support long filenames. however, some older UNIX999... (2 Replies)