Merge commit 'hdt-0.3.5'
[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 }