1WMEMCHR(3) Linux Programmer's Manual WMEMCHR(3)
2
3
4
6 wmemchr - search a wide character in a wide-character array
7
9 #include <wchar.h>
10
11 wchar_t *wmemchr(const wchar_t *s, wchar_t c, size_t n);
12
14 The wmemchr() function is the wide-character equivalent of the mem‐
15 chr(3) function. It searches the n wide characters starting at s for
16 the first occurrence of the wide character c.
17
19 The wmemchr() function returns a pointer to the first occurrence of c
20 among the n wide characters starting at s, or NULL if c does not occur
21 among these.
22
24 C99.
25
27 memchr(3), wcschr(3)
28
30 This page is part of release 3.53 of the Linux man-pages project. A
31 description of the project, and information about reporting bugs, can
32 be found at http://www.kernel.org/doc/man-pages/.
33
34
35
36GNU 1999-07-25 WMEMCHR(3)