1WMEMCHR(3)                 Linux Programmer's Manual                WMEMCHR(3)
2
3
4

NAME

6       wmemchr - search a wide character in a wide-character array
7

SYNOPSIS

9       #include <wchar.h>
10
11       wchar_t *wmemchr(const wchar_t *s, wchar_t c, size_t n);
12

DESCRIPTION

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

RETURN VALUE

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

ATTRIBUTES

24       For  an  explanation  of  the  terms  used  in  this  section,  see at‐
25       tributes(7).
26
27       ┌────────────────────────────────────────────┬───────────────┬─────────┐
28Interface                                   Attribute     Value   
29       ├────────────────────────────────────────────┼───────────────┼─────────┤
30wmemchr()                                   │ Thread safety │ MT-Safe │
31       └────────────────────────────────────────────┴───────────────┴─────────┘
32

CONFORMING TO

34       POSIX.1-2001, POSIX.1-2008, C99.
35

SEE ALSO

37       memchr(3), wcschr(3)
38

COLOPHON

40       This page is part of release 5.13 of the Linux  man-pages  project.   A
41       description  of  the project, information about reporting bugs, and the
42       latest    version    of    this    page,    can     be     found     at
43       https://www.kernel.org/doc/man-pages/.
44
45
46
47GNU                               2021-03-22                        WMEMCHR(3)
Impressum