summaryrefslogtreecommitdiff
path: root/kernel/include/lib/kctype.h
blob: aee1bb9ec7e14fd3b07eb4a4974c84d3bdaa0fd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**
 * @file kctype.h
 *
 * @author Freya Murphy <freya@freyacat.org>
 *
 * Kernel C type libaray functions
 */

#ifndef _KCTYPE_H
#define _KCTYPE_H

/**
 * @returns 1 if c is a space
 */
int isspace(int c);

/**
 * @returns 1 if c is a digit (0 - 9)
 */
int isdigit(int c);

/**
 * @returns if a character is ascii printable
 */
int isprint(int c);

#endif /* kctype.h */