Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ctype(3)

setlocale(3)

jctype(3)  —  Subroutines

OSF

NAME

isjalpha, isjdigit, isjxdigit, isjalnum, isjspace, isjpunct − Classifies characters

LIBRARY

Standard C Library (libc.a)

SYNOPSIS

#include <ctype.h> int isjalpha (
int c ); int isjdigit (
int c ); int isjxdigit (
int c ); int isjalnum (
int c ); int isjspace (
int c ); int isjpunct (
int c );

PARAMETERS

cSpecifies the character to be tested. 

DESCRIPTION

The Japanese ctype functions are provided when Japanese Language Support is installed on your system.  The ctype macros classify character-coded integer values specified in a table.  Each of these macros returns a nonzero value for TRUE and 0 (zero) for FALSE. 

The following list shows the ctype macros which should be used when classifying characters of type NLchar:

isjalnumThe c parameter specifies a letter or digit. 

isjalphaThe c parameter specifies an alphabetic SJIS character. 
0x8260 - 0x8279  0x8281 - 0x829A

isjspaceThe c parameter specifies a space SJIS character. 
0x8140

isjpunctThe c parameter specifies a punctuation SJIS character, that is, neither a control character nor an alphanumeric character. 
0x8141- 0x8151  0x815A - 0x8198  0x81F5 - 0x81

isjdigitThe c parameter specifies a digit SJIS character in the range [0-9]. 
0x824F - 0x8258

isjxdigitThe c parameter specifies an Arabic hexadecimal SJIS character in the range [0-9], [A-F], or [a-f]. 
0x824F - 0x8258
0x8260 - 0x8265
0x8281 - 0x8286

RELATED INFORMATION

Functions: ctype(3), setlocale(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026