aboutsummaryrefslogtreecommitdiffstats
path: root/dos/mystuff.h
blob: fbf4e75b0e16ae84009b166f5a8eaa33a7174598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef MYSTUFF_H
#define MYSTUFF_H

#define NULL ((void *)0)

unsigned int skip_atou(const char **s);
unsigned int atou(const char *s);

static inline int isdigit(int ch)
{
    return (ch >= '0') && (ch <= '9');
}

#endif /* MYSTUFF_H */