]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/wcsrchr.3
sync
[thirdparty/man-pages.git] / man3 / wcsrchr.3
CommitLineData
fea681da
MK
1.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2.\"
3.\" This is free documentation; you can redistribute it and/or
4.\" modify it under the terms of the GNU General Public License as
5.\" published by the Free Software Foundation; either version 2 of
6.\" the License, or (at your option) any later version.
7.\"
8.\" References consulted:
9.\" GNU glibc-2 source code and manual
10.\" Dinkumware C library reference http://www.dinkumware.com/
11.\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
12.\" ISO/IEC 9899:1999
13.\"
14.TH WCSRCHR 3 1999-07-25 "GNU" "Linux Programmer's Manual"
15.SH NAME
16wcsrchr \- search a wide character in a wide-character string
17.SH SYNOPSIS
18.nf
19.B #include <wchar.h>
20.sp
21.BI "wchar_t *wcsrchr(const wchar_t *" wcs ", wchar_t " wc );
22.fi
23.SH DESCRIPTION
c13182ef 24The \fBwcsrchr\fP() function is the wide-character equivalent
fb186734 25of the \fBstrrchr\fP(3) function.
c13182ef 26It searches the last occurrence of \fIwc\fP in the wide-character
fea681da
MK
27string pointed to by \fIwcs\fP.
28.SH "RETURN VALUE"
e511ffb6 29The \fBwcsrchr\fP() function returns a pointer to the last occurrence of
fea681da
MK
30\fIwc\fP in the wide-character string pointed to by \fIwcs\fP, or NULL if
31\fIwc\fP does not occur in the string.
32.SH "CONFORMING TO"
68e1685c 33C99.
fea681da
MK
34.SH "SEE ALSO"
35.BR strrchr (3),
36.BR wcschr (3)