JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... r(int c ); int toupper_l(int c , locale_t locale ); int tolower_l(int c , locale_t locale ); glibc 向けの機能検査マクロの要件 ( feature_test_macr ... os (7) 参照): toupper_l (), tolower_l (): glibc 2.10 以降: _XOPEN_SOURCE >= 700 glibc 2.10 より前: _GNU_SOURCE 説明 これらの関数は、小文字を大文 ... 字に、もしくは大文字を小文字に変換する。 c が小文字の場合、現在のロケールで大文字表現が存在する場合、 toupper () は対応する大文字を返す。大文字表現が存在しない場合、 c を返す。 toupper_l () 関数は同じ動作をするが、ロケールハンドル l ... ... r(int c ); int toupper_l(int c , locale_t locale ); int tolower_l(int c , locale_t locale ); glibc 向けの機能検査マクロの要件 ( feature_test_macr ... os (7) 参照): toupper_l (), tolower_l (): glibc 2.10 以降: _XOPEN_SOURCE >= 700 glibc 2.10 より前: _GNU_SOURCE 説明 これらの関数は、小文字を大文 ... 字に、もしくは大文字を小文字に変換する。 c が小文字の場合、現在のロケールで大文字表現が存在する場合、 toupper () は対応する大文字を返す。大文字表現が存在しない場合、 c を返す。 toupper_l () 関数は同じ動作をするが、ロケールハンドル l ... ... r(int c ); int toupper_l(int c , locale_t locale ); int tolower_l(int c , locale_t locale ); glibc 向けの機能検査マクロの要件 ( feature_test_macr ... os (7) 参照): toupper_l (), tolower_l (): glibc 2.10 以降: _XOPEN_SOURCE >= 700 glibc 2.10 より前: _GNU_SOURCE 説明 これらの関数は、小文字を大文 ... 字に、もしくは大文字を小文字に変換する。 c が小文字の場合、現在のロケールで大文字表現が存在する場合、 toupper () は対応する大文字を返す。大文字表現が存在しない場合、 c を返す。 toupper_l () 関数は同じ動作をするが、ロケールハンドル l ... ... r(int c ); int toupper_l(int c , locale_t locale ); int tolower_l(int c , locale_t locale ); glibc 向けの機能検査マクロの要件 ( feature_test_macr ... os (7) 参照): toupper_l (), tolower_l (): glibc 2.10 以降: _XOPEN_SOURCE >= 700 glibc 2.10 より前: _GNU_SOURCE 説明 これらの関数は、小文字を大文 ... 字に、もしくは大文字を小文字に変換する。 c が小文字の場合、現在のロケールで大文字表現が存在する場合、 toupper () は対応する大文字を返す。大文字表現が存在しない場合、 c を返す。 toupper_l () 関数は同じ動作をするが、ロケールハンドル l ... ... のカテゴリーだけを変更する。 * 現在のロケールに対するハンドルを取得する。 このハンドルはロケールハンドルを受け取る他の関数 ( toupper_l (3) など) で使用できる。 これを行うには、 以下の呼び出しが返した値を duplocale () に渡せばよい。 loc = uselocale((locale ... _t) 0); 上記の uselocale (3) の呼び出しは値 LC_GLOBAL_LOCALE を返すことがあり、 この値を toupper_l (3) などの関数に渡した場合の動作は不定なので、 この方法は必要である。 duplocale () を呼び出すことで、確実に LC_GLOBAL_LO ... 参照。 duplocale () で作成された各ロケールオブジェクトは freelocale (3) を使って解放すべきである。 例 以下のプログラムでは、 toupper_l (3) に渡す現在のロケールのハンドルを取得するのに uselocale (3) と duplocale () を使用する。 このプログラムはコマンドライ ... ... YPE カテゴリーに依存するが、以下の名前は全てのロケールにおいて有効である。 "tolower" - tolower (3) のマッピングを実現する "toupper" - toupper (3) のマッピングを実現する 返り値 wctrans () 関数は、 name が有効ならばマッピング記述子を返す。 有効でなければ ... ... (1) and iconv (3). It changes the behavior of the character handling and classification functions, such as isupper (3) and toupper (3), and the multibyte character functions such as mblen (3) or wctomb (3). LC_IDENTIFICATION (GNU 拡張、 glibc 2.2 以降) ... 新しい関数 ( newlocale (3), freelocale (3), duplocale (3), uselocale (3)) とサフィックス "_l" が付いた新しいライブラリ関数 ( toupper_l (3) など) で構成される。 新しいライブラリ関数は、 従来のロケール依存の API ( toupper (3) など) を関数実行時に適用するロケ ... ... ar . If the argument c is of type char , it must be cast to unsigned char , as in the following example: char c; ... res = toupper((unsigned char) c); This is necessary because char may be the equivalent of signed char , in which case a byte where the t ... rint (3), iswpunct (3), iswspace (3), iswupper (3), iswxdigit (3), newlocale (3), setlocale (3), toascii (3), tolower (3), toupper (3), uselocale (3), ascii (7), locale (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の ... ... ar . If the argument c is of type char , it must be cast to unsigned char , as in the following example: char c; ... res = toupper((unsigned char) c); This is necessary because char may be the equivalent of signed char , in which case a byte where the t ... rint (3), iswpunct (3), iswspace (3), iswupper (3), iswxdigit (3), newlocale (3), setlocale (3), toascii (3), tolower (3), toupper (3), uselocale (3), ascii (7), locale (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の ... ... ar . If the argument c is of type char , it must be cast to unsigned char , as in the following example: char c; ... res = toupper((unsigned char) c); This is necessary because char may be the equivalent of signed char , in which case a byte where the t ... rint (3), iswpunct (3), iswspace (3), iswupper (3), iswxdigit (3), newlocale (3), setlocale (3), toascii (3), tolower (3), toupper (3), uselocale (3), ascii (7), locale (7) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。