projects
/
profile
/
ivi
/
syslinux.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Run Nindent on dos/atou.c
[profile/ivi/syslinux.git]
/
dos
/
atou.c
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
}