wctype_ja
(3C)

Name

wctype_ja - Define a character class for
the Japanese locale

Synopsis

#include <wchar.h>
wctype_t wctype(const char *
charclass);

Description

wctype() builds values in the wctype_t data
type according to the specification with the charclass argument
to determine wide character classes. iswctype() is
used for actual determination. wctype() returns
arguments that wctype() needs to use.

Class that determines alphanumerics used for hexadecimal
representation.

JIS X 0201 Roman character graphic set

Numbers (B/0–9)

A–F, a–f (C/1–6, E/1–6)

alpha

Class that determines alphabets.

upper class and lower class
letters

print

Class that determines printable characters.

JIS X 0201 Roman character graphic set

Space characters

JIS X 0201 Katakana character graphic set

All the characters except in character undefined areas

JIS X 0208

All the characters except in character undefined areas

JIS X 0212

All the characters except in character undefined areas

Vendor-defined character areas

All the characters except in character undefined areas
in vdc class.

User-defined character areas

All the characters including character undefined areas
in udc class.

graph

Class that determines graphic characters.

All the characters in print class except
those in space class.

jkanji

Class that determines Kanji (symbol or ideographic
characters used for Kanji representation).

JIS X 0208

Character defined areas from Ku 16 to Ku 84.

JIS X 0212

Character defined areas from Ku 16 to Ku 77.

jkata

Class that determines Katakana.

JIS X 0208

5/1–86, 1/11, 12, 19, 20

jhira

Class that determines Hiragana.

JIS X 0208

4/1–83, 1/11, 12, 21, 22, 26

jdigit

Class that determines numbers except in digit.

JIS X 0208

3/16–25

jparen

Class that determines characters such as parentheses.

JIS X 0208

1/38–59

line

Class that determines ruled line primitives.

JIS X 0208

8/1–32

jisx0201r

Class that determines characters included in JIS X
0201 Katakana character graphic set.

JIS X 0201 Katakana character graphic set

All the characters from A/1 to D/15.

jisx0208

Class that determines characters included in JIS X
0208.

All the characters including those in JIS X 0208 character undefined
areas. From Ku 1 to Ku 84 (Ku 13 Vendor-defined character area is
included).

jisx0212

Class that determine characters included in JIS X
0212.

All the characters including those in JIS X 0212 character undefined
areas. From Ku 1 to Ku 84 (Ku 83 and 84 Vendor-defined character areas
are also included). No characters in ja_JP.PCK locale are included
in this class.

udc

Class that determines user-defined characters.

All the characters including those in character undefined areas
in the user-defined character area.

ja locale

User-defined characters (Ku 1–20)

0xf5a1–0xfefe

0x8ff5a1–0x8ffefe

ja_JP.PCK locale

User-defined characters (Ku 1–20)

0xf040–0xf9fc

ja_JP.UTF-8 locale

User-defined characters (6400 characters)

0xe000–0xf8ff

vdc

Class that determines vendor-defined characters.

All the characters including those in character undefined areas
in the vendor-defined character area.