~ubuntu-branches/ubuntu/precise/manpages-posix/precise

1 by Francesco Paolo Lovergine
rules: linking manpages-posix not manpages.
1
.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved 
2 by Francesco Paolo Lovergine
* Alligned to linux main manpages edition.
2
.TH "WCSRCHR" P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
1 by Francesco Paolo Lovergine
rules: linking manpages-posix not manpages.
3
.\" wcsrchr 
4
.SH NAME
5
wcsrchr \- wide-character string scanning operation
6
.SH SYNOPSIS
7
.LP
8
\fB#include <wchar.h>
9
.br
10
.sp
11
wchar_t *wcsrchr(const wchar_t *\fP\fIws\fP\fB, wchar_t\fP \fIwc\fP\fB);
12
.br
13
\fP
14
.SH DESCRIPTION
15
.LP
16
The \fIwcsrchr\fP() function shall locate the last occurrence of \fIwc\fP
17
in the wide-character string pointed to by
18
\fIws\fP. The application shall ensure that the value of \fIwc\fP
19
is a character representable as a type \fBwchar_t\fP and a
20
wide-character code corresponding to a valid character in the current
21
locale. The terminating null wide-character code shall be
22
considered to be part of the wide-character string.
23
.SH RETURN VALUE
24
.LP
25
Upon successful completion, \fIwcsrchr\fP() shall return a pointer
26
to the wide-character code or a null pointer if \fIwc\fP
27
does not occur in the wide-character string.
28
.SH ERRORS
29
.LP
30
No errors are defined.
31
.LP
32
\fIThe following sections are informative.\fP
33
.SH EXAMPLES
34
.LP
35
None.
36
.SH APPLICATION USAGE
37
.LP
38
None.
39
.SH RATIONALE
40
.LP
41
None.
42
.SH FUTURE DIRECTIONS
43
.LP
44
None.
45
.SH SEE ALSO
46
.LP
47
\fIwcschr\fP() , the Base Definitions volume of IEEE\ Std\ 1003.1-2001,
48
\fI<wchar.h>\fP
49
.SH COPYRIGHT
50
Portions of this text are reprinted and reproduced in electronic form
51
from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
52
-- Portable Operating System Interface (POSIX), The Open Group Base
53
Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
54
Electrical and Electronics Engineers, Inc and The Open Group. In the
55
event of any discrepancy between this version and the original IEEE and
56
The Open Group Standard, the original IEEE and The Open Group Standard
57
is the referee document. The original Standard can be obtained online at
58
http://www.opengroup.org/unix/online.html .