PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
ctype.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define isascii(c)
 
#define toascii(c)
 
#define isblank(c)
 
#define _U   0x01
 
#define _L   0x02
 
#define _N   0x04
 
#define _S   0x08
 
#define _P   0x10
 
#define _C   0x20
 
#define _X   0x40
 
#define _B   0x80
 
#define isalpha(c)
 
#define isupper(c)
 
#define islower(c)
 
#define isdigit(c)
 
#define isxdigit(c)
 
#define isspace(c)
 
#define ispunct(c)
 
#define isalnum(c)
 
#define isprint(c)
 
#define isgraph(c)
 
#define iscntrl(c)
 
#define toupper(c)
 
#define tolower(c)
 

Detailed Description

ctype functions for the IOP

Definition in file ctype.h.

Macro Definition Documentation

◆ isascii

#define isascii ( c)
Value:
((unsigned int)(c) <= 127)

Definition at line 23 of file ctype.h.

◆ toascii

#define toascii ( c)
Value:
((unsigned char)(c) & 127)

Definition at line 24 of file ctype.h.

◆ isblank

#define isblank ( c)
Value:
((c == ' ') || (c == '\t'))

Definition at line 26 of file ctype.h.

◆ _U

#define _U   0x01

Uppercase letter

Definition at line 50 of file ctype.h.

◆ _L

#define _L   0x02

Lowercase letter

Definition at line 52 of file ctype.h.

◆ _N

#define _N   0x04

Digit (0-9)

Definition at line 54 of file ctype.h.

◆ _S

#define _S   0x08

Space, tab, newline, vertical tab, formfeed or carriage return

Definition at line 56 of file ctype.h.

◆ _P

#define _P   0x10

Punctuation character

Definition at line 58 of file ctype.h.

◆ _C

#define _C   0x20

Control character or delete

Definition at line 60 of file ctype.h.

◆ _X

#define _X   0x40

Hexadecimal digit (0-9, a-f, A-F)

Definition at line 62 of file ctype.h.

◆ _B

#define _B   0x80

Blank (space)

Definition at line 64 of file ctype.h.

◆ isalpha

#define isalpha ( c)
Value:
(look_ctype_table((unsigned int)(c)) & (_U|_L))
#define _L
Definition ctype.h:52
#define _U
Definition ctype.h:50

Definition at line 66 of file ctype.h.

◆ isupper

#define isupper ( c)
Value:
(look_ctype_table((unsigned int)(c)) & (_U))

Definition at line 67 of file ctype.h.

◆ islower

#define islower ( c)
Value:
(look_ctype_table((unsigned int)(c)) & (_L))

Definition at line 68 of file ctype.h.

◆ isdigit

#define isdigit ( c)
Value:
(look_ctype_table((unsigned int)(c)) & (_N))
#define _N
Definition ctype.h:54

Definition at line 69 of file ctype.h.

◆ isxdigit

#define isxdigit ( c)
Value:
(look_ctype_table((unsigned int)(c)) & (_X|_N))
#define _X
Definition ctype.h:62

Definition at line 70 of file ctype.h.

◆ isspace

#define isspace ( c)
Value:
(look_ctype_table((unsigned int)(c)) & (_S))
#define _S
Definition ctype.h:56

Definition at line 71 of file ctype.h.

◆ ispunct

#define ispunct ( c)
Value:
(look_ctype_table((unsigned int)(c)) & (_P))
#define _P
Definition ctype.h:58

Definition at line 72 of file ctype.h.

◆ isalnum

#define isalnum ( c)
Value:
(look_ctype_table((unsigned int)(c)) & (_U|_L|_N))

Definition at line 73 of file ctype.h.

◆ isprint

#define isprint ( c)
Value:
(look_ctype_table((unsigned int)(c)) & (_P|_U|_L|_N|_B))
#define _B
Definition ctype.h:64

Definition at line 74 of file ctype.h.

◆ isgraph

#define isgraph ( c)
Value:
(look_ctype_table((unsigned int)(c)) & (_P|_U|_L|_N))

Definition at line 75 of file ctype.h.

◆ iscntrl

#define iscntrl ( c)
Value:
(look_ctype_table((unsigned int)(c)) & (_C))
#define _C
Definition ctype.h:60

Definition at line 76 of file ctype.h.

◆ toupper

#define toupper ( c)
Value:
_toupper(c)

Definition at line 82 of file ctype.h.

◆ tolower

#define tolower ( c)
Value:
_tolower(c)

Definition at line 89 of file ctype.h.