syslinux-3.08-2 sources from FC4
[bootcd.git] / syslinux / 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 }
10