Sign in
kernel
/
pub
/
scm
/
boot
/
syslinux
/
syslinux
/
refs/heads/bcopyint
/
.
/
dos
/
atou.c
blob: 27663704ddeca250a4888435b628e96a82d2af91 [
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
;
}