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