summaryrefslogtreecommitdiff
path: root/userland/libc/ctype/isalnum.c
blob: 073b8bb29bcc1202620fbdfd5a721a40a6e69bbf (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);
}