1WCSRCHR(3) Linux Programmer's Manual WCSRCHR(3)
2
3
4
6 wcsrchr - search a wide character in a wide-character string
7
9 #include <wchar.h>
10
11 wchar_t *wcsrchr(const wchar_t *wcs, wchar_t wc);
12
14 The wcsrchr() function is the wide-character equivalent of the str‐
15 rchr(3) function. It searches the last occurrence of wc in the wide-
16 character string pointed to by wcs.
17
19 The wcsrchr() function returns a pointer to the last occurrence of wc
20 in the wide-character string pointed to by wcs, or NULL if wc does not
21 occur in the string.
22
24 For an explanation of the terms used in this section, see
25 attributes(7).
26
27 ┌──────────┬───────────────┬─────────┐
28 │Interface │ Attribute │ Value │
29 ├──────────┼───────────────┼─────────┤
30 │wcsrchr() │ Thread safety │ MT-Safe │
31 └──────────┴───────────────┴─────────┘
33 POSIX.1-2001, POSIX.1-2008, C99.
34
36 strrchr(3), wcschr(3)
37
39 This page is part of release 5.07 of the Linux man-pages project. A
40 description of the project, information about reporting bugs, and the
41 latest version of this page, can be found at
42 https://www.kernel.org/doc/man-pages/.
43
44
45
46GNU 2015-08-08 WCSRCHR(3)