]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/wcsrchr.3
All pages: Remove the 5th argument to .TH
[thirdparty/man-pages.git] / man3 / wcsrchr.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
4 .\"
5 .\" References consulted:
6 .\" GNU glibc-2 source code and manual
7 .\" Dinkumware C library reference http://www.dinkumware.com/
8 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
9 .\" ISO/IEC 9899:1999
10 .\"
11 .TH WCSRCHR 3 2021-03-22 "Linux man-pages (unreleased)"
12 .SH NAME
13 wcsrchr \- search a wide character in a wide-character string
14 .SH LIBRARY
15 Standard C library
16 .RI ( libc ", " \-lc )
17 .SH SYNOPSIS
18 .nf
19 .B #include <wchar.h>
20 .PP
21 .BI "wchar_t *wcsrchr(const wchar_t *" wcs ", wchar_t " wc );
22 .fi
23 .SH DESCRIPTION
24 The
25 .BR wcsrchr ()
26 function is the wide-character equivalent
27 of the
28 .BR strrchr (3)
29 function.
30 It searches the last occurrence of
31 .I wc
32 in the wide-character
33 string pointed to by
34 .IR wcs .
35 .SH RETURN VALUE
36 The
37 .BR wcsrchr ()
38 function returns a pointer to the last occurrence of
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.
45 .SH ATTRIBUTES
46 For an explanation of the terms used in this section, see
47 .BR attributes (7).
48 .ad l
49 .nh
50 .TS
51 allbox;
52 lbx lb lb
53 l l l.
54 Interface Attribute Value
55 T{
56 .BR wcsrchr ()
57 T} Thread safety MT-Safe
58 .TE
59 .hy
60 .ad
61 .sp 1
62 .SH STANDARDS
63 POSIX.1-2001, POSIX.1-2008, C99.
64 .SH SEE ALSO
65 .BR strrchr (3),
66 .BR wcschr (3)