1toupper(3C)              Standard C Library Functions              toupper(3C)
2
3
4

NAME

6       toupper - transliterate lower-case characters to upper-case
7

SYNOPSIS

9       #include <ctype.h>
10
11       int toupper(int c);
12
13

DESCRIPTION

15       The  toupper()  function has as a domain a type int, the value of which
16       is representable as an unsigned char or the value of EOF. If the  argu‐
17       ment  has  any  other value, the argument is returned unchanged. If the
18       argument of toupper() represents a lower-case letter, and there  exists
19       a  corresponding upper-case letter (as defined by character type infor‐
20       mation in the program locale category LC_CTYPE),   the  result  is  the
21       corresponding  upper-case letter. All other arguments in the domain are
22       returned unchanged.
23

RETURN VALUES

25       On successful completion, toupper() returns the upper-case letter  cor‐
26       responding to the argument passed.
27

ERRORS

29       No errors are defined.
30

ATTRIBUTES

32       See attributes(5) for descriptions of the following attributes:
33
34
35
36
37       ┌─────────────────────────────┬─────────────────────────────┐
38ATTRIBUTE TYPE               ATTRIBUTE VALUE              
39       ├─────────────────────────────┼─────────────────────────────┤
40       │CSI                          │Enabled                      │
41       ├─────────────────────────────┼─────────────────────────────┤
42       │Interface Stability          │Standard                     │
43       ├─────────────────────────────┼─────────────────────────────┤
44       │MT-Level                     │MT-Safe                      │
45       └─────────────────────────────┴─────────────────────────────┘
46

SEE ALSO

48       _toupper(3C), setlocale(3C), attributes(5), standards(5)
49
50
51
52SunOS 5.11                        14 Aug 2002                      toupper(3C)
Impressum