aboutsummaryrefslogtreecommitdiffstats
path: root/dos/mystuff.h
blob: 83f072f5b04b033ab1a2d1cf269599a7b6f5541f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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 */