Skip to content

Commit 526315a

Browse files
committed
ctype - isdigit comment
1 parent ed6c6d7 commit 526315a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ctype.c

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Function to check if the passed char contains a number
3+
* @param a char
4+
* @return 1 if is a number, 0 if not
5+
*/
16
int isdigit(int c) {
27
return c >= '0' && c <= '9';
38
}

0 commit comments

Comments
 (0)