repo.or.cz
/
syslinux
/
sherbszt.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Rename libcom32gpl.c32 to libgpl.c32
[syslinux/sherbszt.git]
/
dos
/
skipatou.c
blob
655ab565273c84bdb908cce62eed3783249199bd
1
#include
"mystuff.h"
2
3
unsigned int
skip_atou
(
const char
**
s
)
4
{
5
int
i
=
0
;
6
7
while
(
isdigit
(**
s
))
8
i
=
i
*
10
+ *((*
s
)++) -
'0'
;
9
return
i
;
10
}