summaryrefslogtreecommitdiff
path: root/userland/libc/ctype/isalnum.c
blob: 870728d747d93f31aedf86af458db23becf18a99 (plain)
1
2
3
4
5
6
#include <ctype.h>

// This is probably the most useless libc function I have seen so far.
int isalnum(int c) {
	return isalpha(c) || isdigit(c);
}