1WCSRCHR(3P) POSIX Programmer's Manual WCSRCHR(3P)
2
3
4
6 This manual page is part of the POSIX Programmer's Manual. The Linux
7 implementation of this interface may differ (consult the corresponding
8 Linux manual page for details of Linux behavior), or the interface may
9 not be implemented on Linux.
10
12 wcsrchr - wide-character string scanning operation
13
15 #include <wchar.h>
16
17 wchar_t *wcsrchr(const wchar_t *ws, wchar_t wc);
18
19
21 The wcsrchr() function shall locate the last occurrence of wc in the
22 wide-character string pointed to by ws. The application shall ensure
23 that the value of wc is a character representable as a type wchar_t and
24 a wide-character code corresponding to a valid character in the current
25 locale. The terminating null wide-character code shall be considered to
26 be part of the wide-character string.
27
29 Upon successful completion, wcsrchr() shall return a pointer to the
30 wide-character code or a null pointer if wc does not occur in the wide-
31 character string.
32
34 No errors are defined.
35
36 The following sections are informative.
37
39 None.
40
42 None.
43
45 None.
46
48 None.
49
51 wcschr(), the Base Definitions volume of IEEE Std 1003.1-2001,
52 <wchar.h>
53
55 Portions of this text are reprinted and reproduced in electronic form
56 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
57 -- Portable Operating System Interface (POSIX), The Open Group Base
58 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
59 Electrical and Electronics Engineers, Inc and The Open Group. In the
60 event of any discrepancy between this version and the original IEEE and
61 The Open Group Standard, the original IEEE and The Open Group Standard
62 is the referee document. The original Standard can be obtained online
63 at http://www.opengroup.org/unix/online.html .
64
65
66
67IEEE/The Open Group 2003 WCSRCHR(3P)