1WCSRCHR(P)                 POSIX Programmer's Manual                WCSRCHR(P)
2
3
4

NAME

6       wcsrchr - wide-character string scanning operation
7

SYNOPSIS

9       #include <wchar.h>
10
11       wchar_t *wcsrchr(const wchar_t *ws, wchar_t wc);
12
13

DESCRIPTION

15       The  wcsrchr()  function  shall locate the last occurrence of wc in the
16       wide-character string pointed to by ws. The  application  shall  ensure
17       that the value of wc is a character representable as a type wchar_t and
18       a wide-character code corresponding to a valid character in the current
19       locale. The terminating null wide-character code shall be considered to
20       be part of the wide-character string.
21

RETURN VALUE

23       Upon successful completion, wcsrchr() shall return  a  pointer  to  the
24       wide-character code or a null pointer if wc does not occur in the wide-
25       character string.
26

ERRORS

28       No errors are defined.
29
30       The following sections are informative.
31

EXAMPLES

33       None.
34

APPLICATION USAGE

36       None.
37

RATIONALE

39       None.
40

FUTURE DIRECTIONS

42       None.
43

SEE ALSO

45       wcschr()  ,  the  Base  Definitions  volume  of   IEEE Std 1003.1-2001,
46       <wchar.h>
47
49       Portions  of  this text are reprinted and reproduced in electronic form
50       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
51       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
52       Specifications Issue 6, Copyright (C) 2001-2003  by  the  Institute  of
53       Electrical  and  Electronics  Engineers, Inc and The Open Group. In the
54       event of any discrepancy between this version and the original IEEE and
55       The  Open Group Standard, the original IEEE and The Open Group Standard
56       is the referee document. The original Standard can be  obtained  online
57       at http://www.opengroup.org/unix/online.html .
58
59
60
61IEEE/The Open Group                  2003                           WCSRCHR(P)
Impressum