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