~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 "ISWUPPER" P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
1 by Francesco Paolo Lovergine
rules: linking manpages-posix not manpages.
3
.\" iswupper 
4
.SH NAME
5
iswupper \- test for an uppercase letter wide-character code
6
.SH SYNOPSIS
7
.LP
8
\fB#include <wctype.h>
9
.br
10
.sp
11
int iswupper(wint_t\fP \fIwc\fP\fB);
12
.br
13
\fP
14
.SH DESCRIPTION
15
.LP
16
The \fIiswupper\fP() function shall test whether \fIwc\fP is a wide-character
17
code representing a character of class
18
\fBupper\fP in the program's current locale; see the Base Definitions
19
volume of IEEE\ Std\ 1003.1-2001, Chapter 7, Locale.
20
.LP
21
The \fIwc\fP argument is a \fBwint_t\fP, the value of which the application
22
shall ensure is a wide-character code
23
corresponding to a valid character in the current locale, or equal
24
to the value of the macro WEOF. If the argument has any other
25
value, the behavior is undefined.
26
.SH RETURN VALUE
27
.LP
28
The \fIiswupper\fP() function shall return non-zero if \fIwc\fP is
29
an uppercase letter wide-character code; otherwise, it
30
shall return 0.
31
.SH ERRORS
32
.LP
33
No errors are defined.
34
.LP
35
\fIThe following sections are informative.\fP
36
.SH EXAMPLES
37
.LP
38
None.
39
.SH APPLICATION USAGE
40
.LP
41
To ensure applications portability, especially across natural languages,
42
only this function and those listed in the SEE ALSO
43
section should be used for classification of wide-character codes.
44
.SH RATIONALE
45
.LP
46
None.
47
.SH FUTURE DIRECTIONS
48
.LP
49
None.
50
.SH SEE ALSO
51
.LP
52
\fIiswalnum\fP() , \fIiswalpha\fP() , \fIiswcntrl\fP() , \fIiswctype\fP()
53
, \fIiswdigit\fP() , \fIiswgraph\fP() , \fIiswlower\fP() , \fIiswprint\fP()
54
, \fIiswpunct\fP() , \fIiswspace\fP() , \fIiswxdigit\fP() , \fIsetlocale\fP()
55
, the Base Definitions volume of
56
IEEE\ Std\ 1003.1-2001, Chapter 7, Locale, \fI<wchar.h>\fP, \fI<wctype.h>\fP
57
.SH COPYRIGHT
58
Portions of this text are reprinted and reproduced in electronic form
59
from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
60
-- Portable Operating System Interface (POSIX), The Open Group Base
61
Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
62
Electrical and Electronics Engineers, Inc and The Open Group. In the
63
event of any discrepancy between this version and the original IEEE and
64
The Open Group Standard, the original IEEE and The Open Group Standard
65
is the referee document. The original Standard can be obtained online at
66
http://www.opengroup.org/unix/online.html .