SSBM Decomp
Loading...
Searching...
No Matches
ctype.h File Reference
#include <platform.h>

Go to the source code of this file.

Macros

#define EOF   -1L
 
#define __control_char   0x01
 
#define __motion_char   0x02
 
#define __space_char   0x04
 
#define __punctuation   0x08
 
#define __digit   0x10
 
#define __hex_digit   0x20
 
#define __lower_case   0x40
 
#define __upper_case   0x80
 
#define __letter   (__lower_case | __upper_case)
 
#define __alphanumeric   (__letter | __digit)
 
#define __graphic   (__alphanumeric | __punctuation)
 
#define __printable   (__graphic | __space_char)
 
#define __whitespace   (__motion_char | __space_char)
 
#define __control   (__motion_char | __control_char)
 
#define __zero_fill(c)   ((int) (unsigned char) (c))
 

Functions

int isalpha (int c)
 
int isdigit (int c)
 
int isspace (int c)
 
int isupper (int c)
 
int isxdigit (int c)
 
int toupper (int c)
 
int tolower (int c)
 

Variables

const unsigned char __ctype_map []
 
const unsigned char __lower_map []
 
const unsigned char __upper_map []
 

Macro Definition Documentation

◆ EOF

#define EOF   -1L

◆ __control_char

#define __control_char   0x01

◆ __motion_char

#define __motion_char   0x02

◆ __space_char

#define __space_char   0x04

◆ __punctuation

#define __punctuation   0x08

◆ __digit

#define __digit   0x10

◆ __hex_digit

#define __hex_digit   0x20

◆ __lower_case

#define __lower_case   0x40

◆ __upper_case

#define __upper_case   0x80

◆ __letter

#define __letter   (__lower_case | __upper_case)

◆ __alphanumeric

#define __alphanumeric   (__letter | __digit)

◆ __graphic

#define __graphic   (__alphanumeric | __punctuation)

◆ __printable

#define __printable   (__graphic | __space_char)

◆ __whitespace

#define __whitespace   (__motion_char | __space_char)

◆ __control

#define __control   (__motion_char | __control_char)

◆ __zero_fill

#define __zero_fill (   c)    ((int) (unsigned char) (c))

Function Documentation

◆ isalpha()

int isalpha ( int  c)
inline

◆ isdigit()

int isdigit ( int  c)
inline

◆ isspace()

int isspace ( int  c)
inline

◆ isupper()

int isupper ( int  c)
inline

◆ isxdigit()

int isxdigit ( int  c)
inline

◆ toupper()

int toupper ( int  c)

◆ tolower()

int tolower ( int  c)

Variable Documentation

◆ __ctype_map

const unsigned char __ctype_map[]
extern

◆ __lower_map

const unsigned char __lower_map[]
extern

◆ __upper_map

const unsigned char __upper_map[]
extern