OSDN Git Service

11ea07f399d7bd4d2266caacea92ad11c772dae0
[linuxjm/LDP_man-pages.git] / release / man3 / towlower.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
7 .\"
8 .\" References consulted:
9 .\"   GNU glibc-2 source code and manual
10 .\"   Dinkumware C library reference http://www.dinkumware.com/
11 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .\"   ISO/IEC 9899:1999
13 .\"
14 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
15 .\" Translated Mon Oct 25 08:06:53 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\"
18 .TH TOWLOWER 3 1999-07-25 "GNU" "Linux Programmer's Manual"
19 .SH 名前
20 towlower \- ワイド文字 1 個を小文字に変換する
21 .SH 書式
22 .nf
23 .B #include <wctype.h>
24 .sp
25 .BI "wint_t towlower(wint_t " wc );
26 .fi
27 .SH 説明
28 .BR towlower ()
29 関数は、
30 .BR tolower (3)
31 関数に対応するワイド文字関数である。
32 \fIwc\fP がワイド文字ならば、この文字は小文字に変換される。
33 大文字・小文字の区別がない文字は変換されずに返される。
34 \fIwc\fP が \fBWEOF\fP ならば、\fBWEOF\fP が返される。
35 .SH 返り値
36 .BR towlower ()
37 関数は、\fIwc\fP に対応する小文字を返す。\fIwc\fP が
38 \fBWEOF\fP ならば、\fBWEOF\fP を返す。
39 .SH 準拠
40 C99.
41 .SH 注意
42 .BR towlower ()
43 の動作は、現在のロケールの
44 .B LC_CTYPE
45 カテゴリに依存する。
46 .PP
47 この関数を Unicode 文字に対して使うのはあまり適切でない。なぜなら、
48 Unicode には、大文字 (upper case)・小文字 (lower case)・
49 タイトル文字 (title case) という 3 つの "case" が含まれているからである。
50 .SH 関連項目
51 .BR iswlower (3),
52 .BR towctrans (3),
53 .BR towupper (3)