1tolower(3C) Standard C Library Functions tolower(3C)
2
3
4
6 tolower - transliterate upper-case characters to lower-case
7
9 #include <ctype.h>
10
11 int tolower(int c);
12
13
15 The tolower() 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 tolower() represents an upper-case letter, and there exists
19 a corresponding lower-case letter (as defined by character type infor‐
20 mation in the program locale category LC_CTYPE), the result is the
21 corresponding lower-case letter. All other arguments in the domain are
22 returned unchanged.
23
25 On successful completion, tolower() returns the lower-case letter cor‐
26 responding to the argument passed. Otherwise, it returns the argument
27 unchanged.
28
30 No errors are defined.
31
33 See attributes(5) for descriptions of the following attributes:
34
35
36
37
38 ┌─────────────────────────────┬─────────────────────────────┐
39 │ATTRIBUTE TYPE │ATTRIBUTE VALUE │
40 ├─────────────────────────────┼─────────────────────────────┤
41 │CSI │Enabled │
42 ├─────────────────────────────┼─────────────────────────────┤
43 │Interface Stability │Standard │
44 ├─────────────────────────────┼─────────────────────────────┤
45 │MT-Level │MT-Safe │
46 └─────────────────────────────┴─────────────────────────────┘
47
49 _tolower(3C), setlocale(3C), attributes(5), standards(5)
50
51
52
53SunOS 5.11 14 Aug 2002 tolower(3C)