466
|
1 <refentry id="toupper">
|
|
2 <refnamediv>
|
|
3 <refname>toupper</refname>
|
|
4 <refpurpose>Placeholder</refpurpose>
|
|
5 </refnamediv>
|
|
6
|
|
7 <refsynopsisdiv>
|
|
8 <funcsynopsis>
|
468
|
9 <funcsynopsisinfo>
|
|
10 #include <ctype.h>
|
|
11 </funcsynopsisinfo>
|
466
|
12 <funcprototype>
|
|
13 <funcdef><function>toupper</function></funcdef>
|
474
|
14 <paramdef>int <parameter>c</parameter></paramdef>
|
|
15 </funcprototype>
|
|
16 <funcprototype>
|
|
17 <funcdef><function>tolower</function></funcdef>
|
|
18 <paramdef>int <parameter>c</parameter></paramdef>
|
|
19 </funcprototype>
|
|
20 <funcprototype>
|
|
21 <funcdef><function>_toupper</function></funcdef>
|
|
22 <paramdef>int <parameter>c</parameter></paramdef>
|
|
23 </funcprototype>
|
|
24 <funcprototype>
|
|
25 <funcdef><function>_tolower</function></funcdef>
|
|
26 <paramdef>int <parameter>c</parameter></paramdef>
|
466
|
27 </funcprototype>
|
|
28 </funcsynopsis>
|
|
29
|
|
30 </refsynopsisdiv>
|
|
31
|
|
32 <refsect1><title>Description</title>
|
|
33 <para>
|
474
|
34 The functions toupper and tolower have as their domain the
|
|
35 integers in the range -1 to 255. Toupper converts lower-case
|
|
36 to upper-case, and tolower converts upper-case to lower-case.
|
|
37 All other arguments are returned unchanged.
|
|
38 </para>
|
|
39 <para>
|
|
40 The macros _toupper and _tolower do the same things as the
|
|
41 corresponding functions, but they have restricted domains and
|
|
42 they are faster. The argument to _toupper must be lower-case,
|
|
43 and the argument to _tolower must be upper-case. Arguments
|
|
44 that are outside each macros domain, such as passing a lower-case
|
|
45 to _tolower, yield garbage results.
|
466
|
46 </para>
|
|
47 </refsect1>
|
|
48 </refentry>
|