WCSRCHR(3) Library Functions Manual WCSRCHR(3)
NAME
wcsrchr —
wide-character string scanning operation
SYNOPSIS
#include <wchar.h> wchar_t *wcsrchr(const wchar_t *ws, wchar_t wc);
DESCRIPTION
The wcsrchr() function locates the last 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 successful completion, wcsrchr() returns a pointer to the wide-character code or a null pointer if wc does not occur in the wide-character string.
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
DERIVATION
Derived from the MSE working draft.
February 1997 posix.fail