]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/wcschr.3
Many pages: Add '\" t' comment where necessary
[thirdparty/man-pages.git] / man3 / wcschr.3
CommitLineData
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 wcschr 3 (date) "Linux man-pages (unreleased)"
fea681da
MK
13.SH NAME
14wcschr \- search a wide character in a wide-character string
f8913355
AC
15.SH LIBRARY
16Standard 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 *wcschr(const wchar_t *" wcs ", wchar_t " wc );
23.fi
24.SH DESCRIPTION
60a90ecd
MK
25The
26.BR wcschr ()
27function is the wide-character equivalent
28of the
29.BR strchr (3)
30function.
35cfd378
MK
31It searches the first occurrence of
32.I wc
33in the wide-character
34string pointed to by
35.IR wcs .
47297adb 36.SH RETURN VALUE
60a90ecd
MK
37The
38.BR wcschr ()
39function returns a pointer to the first occurrence of
35cfd378
MK
40.I wc
41in the wide-character string pointed to by
42.IR wcs ,
43or NULL if
44.I wc
45does not occur in the string.
ef7f6e8f 46.SH ATTRIBUTES
d6c420e7
PH
47For an explanation of the terms used in this section, see
48.BR attributes (7).
c466875e
MK
49.ad l
50.nh
d6c420e7
PH
51.TS
52allbox;
c466875e 53lbx lb lb
d6c420e7
PH
54l l l.
55Interface Attribute Value
56T{
ef7f6e8f 57.BR wcschr ()
d6c420e7
PH
58T} Thread safety MT-Safe
59.TE
c466875e
MK
60.hy
61.ad
62.sp 1
3113c7f3 63.SH STANDARDS
d8e94e53 64POSIX.1-2001, POSIX.1-2008, C99.
47297adb 65.SH SEE ALSO
fea681da
MK
66.BR strchr (3),
67.BR wcspbrk (3),
68.BR wcsrchr (3),
69.BR wcsstr (3),
70.BR wmemchr (3)