Annotated edit history of
tolower(3) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
TOUPPER |
|
|
2 |
!!!TOUPPER |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
CONFORMING TO |
|
|
8 |
BUGS |
|
|
9 |
SEE ALSO |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
toupper, tolower - convert letter to upper or lower case |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__#include |
|
|
19 |
__ ''c''__); |
|
|
20 |
int tolower (int__ ''c''__); |
|
|
21 |
__ |
|
|
22 |
!!DESCRIPTION |
|
|
23 |
|
|
|
24 |
|
|
|
25 |
__toupper()__ converts the letter ''c'' to upper case, |
|
|
26 |
if possible. |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
__tolower()__ converts the letter ''c'' to lower case, |
|
|
30 |
if possible. |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
If ''c'' is not an unsigned char value, or EOF, the |
|
|
34 |
behaviour of these functions is undefined. |
|
|
35 |
!!RETURN VALUE |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
The value returned is that of the converted letter, or |
|
|
39 |
''c'' if the conversion was not possible. |
|
|
40 |
!!CONFORMING TO |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
ANSI C, BSD 4.3 |
|
|
44 |
!!BUGS |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
The details of what constitutes an uppercase or lowercase |
|
|
48 |
letter depend on the current locale. For example, the |
|
|
49 |
default ____ locale does not know about |
|
|
50 |
umlauts, so no conversion is done for them. |
|
|
51 |
|
|
|
52 |
|
|
|
53 |
In some non - English locales, there are lowercase letters |
|
|
54 |
with no corresponding uppercase equivalent; the German sharp |
|
|
55 |
s is one example. |
|
|
56 |
!!SEE ALSO |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
isalpha(3), setlocale(3), |
|
|
60 |
locale(7) |
|
|
61 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.