]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/wcschr.3
getsid.2: deduplicate getsid(0) case
[thirdparty/man-pages.git] / man3 / wcschr.3
CommitLineData
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
13wcschr \- search a wide character in a wide-character string
f8913355
AC
14.SH LIBRARY
15Standard 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
24The
25.BR wcschr ()
26function is the wide-character equivalent
27of the
28.BR strchr (3)
29function.
35cfd378
MK
30It searches the first occurrence of
31.I wc
32in the wide-character
33string pointed to by
34.IR wcs .
47297adb 35.SH RETURN VALUE
60a90ecd
MK
36The
37.BR wcschr ()
38function returns a pointer to the first occurrence of
35cfd378
MK
39.I wc
40in the wide-character string pointed to by
41.IR wcs ,
42or NULL if
43.I wc
44does not occur in the string.
ef7f6e8f 45.SH ATTRIBUTES
d6c420e7
PH
46For 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
51allbox;
c466875e 52lbx lb lb
d6c420e7
PH
53l l l.
54Interface Attribute Value
55T{
ef7f6e8f 56.BR wcschr ()
d6c420e7
PH
57T} Thread safety MT-Safe
58.TE
c466875e
MK
59.hy
60.ad
61.sp 1
47297adb 62.SH CONFORMING TO
d8e94e53 63POSIX.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)