The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

NAME

wcschr - wide-character string scanning operation

SYNOPSIS

#include <wchar.h>

wchar_t *wcschr(const wchar_t *ws, wchar_t wc);

DESCRIPTION

The wcschr() function locates the first occurrence of wc in the wide-character string pointed to by ws. The value of wc must be a character representable as a type wchar_t and must be a wide-character code corresponding to a valid character in the current locale. The terminating null wide-character code is considered to be part of the wide-character string.

RETURN VALUE

Upon completion, wcschr() returns a pointer to the wide-character code, or a null pointer if the wide-character code is not found.

ERRORS

No errors are defined.

EXAMPLES

None.

APPLICATION USAGE

None.

FUTURE DIRECTIONS

None.

SEE ALSO

wcsrchr(), <wchar.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]