git://git.onelab.eu
/
bootcd.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
syslinux-3.08-2 sources from FC4
[bootcd.git]
/
syslinux
/
sample
/
skipatou.c
1
static inline int
2
isdigit(int ch)
3
{
4
return (ch >= '0') && (ch <= '9');
5
}
6
7
unsigned int skip_atou(const char **s)
8
{
9
int i=0;
10
11
while (isdigit(**s))
12
i = i*10 + *((*s)++) - '0';
13
return i;
14
}