1wcsrchr(3)                 Library Functions Manual                 wcsrchr(3)
2
3
4

NAME

6       wcsrchr - search a wide character in a wide-character string
7

LIBRARY

9       Standard C library (libc, -lc)
10

SYNOPSIS

12       #include <wchar.h>
13
14       wchar_t *wcsrchr(const wchar_t *wcs, wchar_t wc);
15

DESCRIPTION

17       The  wcsrchr()  function  is  the wide-character equivalent of the str‐
18       rchr(3) function.  It searches the last occurrence of wc in  the  wide-
19       character string pointed to by wcs.
20

RETURN VALUE

22       The  wcsrchr()  function returns a pointer to the last occurrence of wc
23       in the wide-character string pointed to by wcs, or NULL if wc does  not
24       occur in the string.
25

ATTRIBUTES

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

STANDARDS

37       C11, POSIX.1-2008.
38

HISTORY

40       POSIX.1-2001, C99.
41

SEE ALSO

43       strrchr(3), wcschr(3)
44
45
46
47Linux man-pages 6.05              2023-07-20                        wcsrchr(3)
Impressum