diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-03 12:29:48 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-03 12:29:48 -0400 |
commit | 33b9d606916f3847e0f754693ca49ce56175a330 (patch) | |
tree | eba26ad7722349ced40270f4a9a8083a58a7d453 /include/ctype.h | |
parent | track changes (diff) | |
download | comus-33b9d606916f3847e0f754693ca49ce56175a330.tar.gz comus-33b9d606916f3847e0f754693ca49ce56175a330.tar.bz2 comus-33b9d606916f3847e0f754693ca49ce56175a330.zip |
refactor include
Diffstat (limited to 'include/ctype.h')
-rw-r--r-- | include/ctype.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/ctype.h b/include/ctype.h new file mode 100644 index 0000000..c5f92b4 --- /dev/null +++ b/include/ctype.h @@ -0,0 +1,22 @@ +/** + * @file ctype.h + * + * @author Freya Murphy <freya@freyacat.org> + * + * C type libaray functions + */ + +#ifndef _CTYPE_H +#define _CTYPE_H + +/** + * @returns 1 if c is a space + */ +extern int isspace(int c); + +/** + * @returns 1 if c is a digit (0 - 9) + */ +extern int isdigit(int c); + +#endif /* ctype.h */ |