repo.or.cz
/
syslinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pxe: Re-add support for embedded DHCP options
[syslinux.git]
/
dos
/
atou.c
blob
e21736d1558457f65c292aa0789d17719f6845f3
1
#include
"mystuff.h"
2
3
unsigned int
atou
(
const char
*
s
)
4
{
5
unsigned int
i
=
0
;
6
while
(
isdigit
(*
s
))
7
i
=
i
*
10
+ (*
s
++ -
'0'
);
8
return
i
;
9
}