syslinux-3.08-2 sources from FC4
[bootcd.git] / syslinux / dos / skipatou.c
1 #include "mystuff.h"
2
3 unsigned int skip_atou(const char **s)
4 {
5   int i=0;
6   
7   while (isdigit(**s))
8     i = i*10 + *((*s)++) - '0';
9   return i;
10 }