OSDN Git Service

(split) LDP: Restore and add Copyrights for draft pages
[linuxjm/LDP_man-pages.git] / draft / man3 / toupper.3
1 .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
2 .\"
3 .\" %%%LICENSE_START(VERBATIM)
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
7 .\"
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
12 .\"
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein.  The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
19 .\" professionally.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" %%%LICENSE_END
24 .\"
25 .\" Modified Sat Jul 24 17:45:39 1993 by Rik Faith (faith@cs.unc.edu)
26 .\" Modified 2000-02-13 by Nicolás Lichtmaier <nick@debian.org>
27 .\"*******************************************************************
28 .\"
29 .\" This file was generated with po4a. Translate the source file.
30 .\"
31 .\"*******************************************************************
32 .\"
33 .\" Japanese Version Copyright (c) 1997 Ueyama Rui and HIROFUMI Nishizuka
34 .\"         all rights reserved.
35 .\" Translated Fri Aug 29 19:47:32 JST 1997
36 .\"         by Ueyama Rui <rui@campus.or.jp>
37 .\"         by HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
38 .\" Translated Sun Mar 12 21:42:31 JST 2000
39 .\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
40 .\"
41 .TH TOUPPER 3 1993\-04\-04 GNU "Linux Programmer's Manual"
42 .SH 名前
43 toupper, tolower \- 小文字を大文字にする。または大文字を小文字にする。
44 .SH 書式
45 .nf
46 \fB#include <ctype.h>\fP
47 .sp
48 \fBint toupper(int \fP\fIc\fP\fB);\fP
49 .br
50 \fBint tolower(int \fP\fIc\fP\fB);\fP
51 .fi
52 .SH 説明
53 \fBtoupper\fP()  は、 \fIc\fP が大文字にできる文字であるならば大文字に変換する。
54 .PP
55 \fBtolower\fP()  は \fIc\fP が小文字にできる文字であるならば小文字に変換する。
56 .PP
57 もし \fIc\fP が \fIunsigned char\fP の値でないか \fBEOF\fP ならば、これらの関数の動作は未定義である。
58 .SH 返り値
59 変換ができれば変換後の文字を返す。できなければ変換前の \fIc\fP を返す。
60 .SH 準拠
61 C89, C99, 4.3BSD.
62 .SH バグ
63 なにが大文字でなにが小文字なのかということの詳細は、現在のロケールに 依存している。たとえば、デフォルトの \fB"C"\fP
64 ロケールではウムラウトを認識しないため、それらの文字は変換できない。
65 .PP
66 いくつかの非英語ロケールでは、対応する大文字を持たない小文字が存在する。 ドイツ語のエスツェットが一つの例である。
67 .SH 関連項目
68 \fBisalpha\fP(3), \fBsetlocale\fP(3), \fBtowlower\fP(3), \fBtowupper\fP(3), \fBlocale\fP(7)
69 .SH この文書について
70 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
71 である。プロジェクトの説明とバグ報告に関する情報は
72 http://www.kernel.org/doc/man\-pages/ に書かれている。