]>
Commit | Line | Data |
---|---|---|
a1eaacb1 | 1 | '\" t |
fea681da MK |
2 | .\" Copyright (c) Bruno Haible <haible@clisp.cons.org> |
3 | .\" | |
e4a74ca8 | 4 | .\" SPDX-License-Identifier: GPL-2.0-or-later |
fea681da MK |
5 | .\" |
6 | .\" References consulted: | |
7 | .\" GNU glibc-2 source code and manual | |
8 | .\" Dinkumware C library reference http://www.dinkumware.com/ | |
008f1ecc | 9 | .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html |
fea681da MK |
10 | .\" ISO/IEC 9899:1999 |
11 | .\" | |
4c1c5274 | 12 | .TH wcsrchr 3 (date) "Linux man-pages (unreleased)" |
fea681da MK |
13 | .SH NAME |
14 | wcsrchr \- search a wide character in a wide-character string | |
4dc09ca9 AC |
15 | .SH LIBRARY |
16 | Standard C library | |
8fc3b2cf | 17 | .RI ( libc ", " \-lc ) |
fea681da MK |
18 | .SH SYNOPSIS |
19 | .nf | |
20 | .B #include <wchar.h> | |
68e4db0a | 21 | .PP |
fea681da MK |
22 | .BI "wchar_t *wcsrchr(const wchar_t *" wcs ", wchar_t " wc ); |
23 | .fi | |
24 | .SH DESCRIPTION | |
60a90ecd MK |
25 | The |
26 | .BR wcsrchr () | |
27 | function is the wide-character equivalent | |
28 | of the | |
29 | .BR strrchr (3) | |
30 | function. | |
35cfd378 MK |
31 | It searches the last occurrence of |
32 | .I wc | |
33 | in the wide-character | |
34 | string pointed to by | |
35 | .IR wcs . | |
47297adb | 36 | .SH RETURN VALUE |
60a90ecd MK |
37 | The |
38 | .BR wcsrchr () | |
39 | function returns a pointer to the last occurrence of | |
35cfd378 MK |
40 | .I wc |
41 | in the wide-character string pointed to by | |
42 | .IR wcs , | |
43 | or NULL if | |
44 | .I wc | |
45 | does not occur in the string. | |
97bcd00d | 46 | .SH ATTRIBUTES |
efa6a27b PH |
47 | For an explanation of the terms used in this section, see |
48 | .BR attributes (7). | |
49 | .TS | |
50 | allbox; | |
c466875e | 51 | lbx lb lb |
efa6a27b PH |
52 | l l l. |
53 | Interface Attribute Value | |
54 | T{ | |
9e54434e BR |
55 | .na |
56 | .nh | |
97bcd00d | 57 | .BR wcsrchr () |
efa6a27b PH |
58 | T} Thread safety MT-Safe |
59 | .TE | |
c466875e | 60 | .sp 1 |
3113c7f3 | 61 | .SH STANDARDS |
4131356c AC |
62 | C11, POSIX.1-2008. |
63 | .SH HISTORY | |
64 | POSIX.1-2001, C99. | |
47297adb | 65 | .SH SEE ALSO |
fea681da MK |
66 | .BR strrchr (3), |
67 | .BR wcschr (3) |