1ISUPPER(P) POSIX Programmer's Manual ISUPPER(P)
2
3
4
6 isupper - test for an uppercase letter
7
9 #include <ctype.h>
10
11 int isupper(int c);
12
13
15 The isupper() function shall test whether c is a character of class
16 upper in the program's current locale; see the Base Definitions volume
17 of IEEE Std 1003.1-2001, Chapter 7, Locale.
18
19 The c argument is an int, the value of which the application shall
20 ensure is a character representable as an unsigned char or equal to the
21 value of the macro EOF. If the argument has any other value, the behav‐
22 ior is undefined.
23
25 The isupper() function shall return non-zero if c is an uppercase let‐
26 ter; otherwise, it shall return 0.
27
29 No errors are defined.
30
31 The following sections are informative.
32
34 None.
35
37 To ensure applications portability, especially across natural lan‐
38 guages, only this function and those listed in the SEE ALSO section
39 should be used for character classification.
40
42 None.
43
45 None.
46
48 isalnum() , isalpha() , iscntrl() , isdigit() , isgraph() , islower() ,
49 isprint() , ispunct() , isspace() , isxdigit() , setlocale() , the Base
50 Definitions volume of IEEE Std 1003.1-2001, Chapter 7, Locale,
51 <ctype.h>
52
54 Portions of this text are reprinted and reproduced in electronic form
55 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
56 -- Portable Operating System Interface (POSIX), The Open Group Base
57 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
58 Electrical and Electronics Engineers, Inc and The Open Group. In the
59 event of any discrepancy between this version and the original IEEE and
60 The Open Group Standard, the original IEEE and The Open Group Standard
61 is the referee document. The original Standard can be obtained online
62 at http://www.opengroup.org/unix/online.html .
63
64
65
66IEEE/The Open Group 2003 ISUPPER(P)