OurOS
0.1
Operating System built by McGill Students
Loading...
Searching...
No Matches
ctype.h
1
#ifndef _SYS_CTYPE_H
2
#define _SYS_CTYPE_H
3
4
// checks for alphanumeric character (isalpha || isdigit)
5
int
isalnum(
int
c);
6
7
// checks for alphabetic character
8
int
isalpha(
int
c);
9
10
// checks for a control character
11
int
iscntrl(
int
c);
12
13
// checks for a digit (0 through 9)
14
int
isdigit(
int
c);
15
16
// checks for any printable character except space
17
int
isgraph(
int
c);
18
19
// checks for a lowerspace character
20
int
islower(
int
c);
21
22
// checks for an upperspace character
23
int
isupper(
int
c);
24
25
// checks for any printable character including space
26
int
isprint(
int
c);
27
28
// checks for any printable character that is not a space or alphanumeric character
29
int
ispunct(
int
c);
30
31
// checks for whitespace characters (\f,\n,\r,\t,\v)
32
int
isspace(
int
c);
33
34
// checks for hexadecimal digits (0 through 9 A through F uppercase and lowercase)
35
int
isxdigit(
int
c);
36
37
// checks whether c is a 7-bit unsigned char value that fits into the ASCII character set.
38
int
isascii(
int
c);
39
40
// checks for a blank character; that is, a space or tab
41
int
isblank(
int
c);
42
43
// If c is a lowercase letter, return its uppercase equivalent, otherwise just return c.
44
int
toupper(
int
c);
45
// If c is an uppercase letter, return its lowercase equivalent, otherwise just return c.
46
int
tolower(
int
c);
47
#endif
libc
ctype
ctype.h
Generated by
1.9.8