#define is_kanji1st(c) ((unsigned int) (c ^ 0x20) - 0xa1 < 0x3c)
シフトJISの1バイト目か判定(コピペ
外出だったらスマソ。

新年もトリッキーなコードが飛び交いますよう