名前


towctrans - ワイド文字の変換

書式


#include <wctype.h>

wint_t towctrans(wint_t wc, wctrans_t desc);

説明


wc がワイド文字ならば、 towctrans() 関数は変換記述子 desc に従ってその文字を変換する。wc が WEOF ならば、 WEOF が返される。

desc は、 wctrans(3) が返した変換記述子でなければならない。

返り値


towctrans() 関数は、変換結果のワイド文字を返す。wc が WEOF ならば、WEOF を返す。

準拠


C99.

注意


towctrans() の動作は、現在のロケールの LC_CTYPE カテゴリに依存する。

関連項目


towlower(3), towupper(3), wctrans(3)

openSUSE Logo

コンテンツ