Sign in
kernel
/
pub
/
scm
/
boot
/
syslinux
/
syslinux
/
fda10d48164dd69bcc1791562a2e5ae9c1a79896
/
.
/
dos
/
skipatou.c
blob: 655ab565273c84bdb908cce62eed3783249199bd [
file
] [
log
] [
blame
]
#include
"mystuff.h"
unsigned
int
skip_atou
(
const
char
**
s
)
{
int
i
=
0
;
while
(
isdigit
(**
s
))
i
=
i
*
10
+
*((*
s
)++)
-
'0'
;
return
i
;
}