towlowerのヘルプ・マニュアル
日本語 英語
towlower --help
man towlower
TOWLOWER(3) Linux Programmer’s Manual TOWLOWER(3)
名前
towlower - ワイド文字 1 個を小文字に変換する
書式
#include
wint_t towlower(wint_t wc);
説明
towlower() 関数は、 tolower(3) 関数に対応するワイド文字関数である。 wc
がワイド文字ならば、この文字は小文字に変換される。大文字・小文字の区 別
がない文字は変換されずに返される。 wc が WEOF ならば、WEOF が返される。
返り値
towlower() 関数は、wc に対応する小文字を返す。wc が WEOF なら ば 、WEOF
を返す。
準拠
C99.
注意
towlower() の動作は、現在のロケールの LC_CTYPE カテゴリに依存する。
こ の 関 数 を Unicode 文字に対して使うのはあまり適切でない。なぜなら、
Unicode には、大文字 (upper case)・小文字 (lower case)・タイト ル 文 字
(title case) という 3 つの "case" が含まれているからである。
関連項目
iswlower(3), towctrans(3), towupper(3)
GNU 1999-07-25 TOWLOWER(3)
TOWLOWER(3) Linux Programmer’s Manual TOWLOWER(3)
NAME
towlower - convert a wide character to lowercase
SYNOPSIS
#include
wint_t towlower(wint_t wc);
DESCRIPTION
The towlower() function is the wide-character equivalent of the
tolower(3) function. If wc is a wide character, it is converted to
lowercase. Characters which do not have case are returned unchanged.
If wc is WEOF, WEOF is returned.
RETURN VALUE
The towlower() function returns the lowercase equivalent of wc, or WEOF
if wc is WEOF.
CONFORMING TO
C99.
NOTES
The behavior of towlower() depends on the LC_CTYPE category of the cur-
rent locale.
This function is not very appropriate for dealing with Unicode charac-
ters, because Unicode knows about three cases: upper, lower and title
case.
SEE ALSO
iswlower(3), towctrans(3), towupper(3)
COLOPHON
This page is part of release 3.22 of the Linux man-pages project. A
description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
GNU 1999-07-25 TOWLOWER(3)