Adding upstream version 3.35.
[syslinux-debian/hramrach.git] / dos / skipatou.c
blobf71c53427fe80165760bf21ac07f516520e0a306
1 #include "mystuff.h"
3 unsigned int skip_atou(const char **s)
5 int i=0;
7 while (isdigit(**s))
8 i = i*10 + *((*s)++) - '0';
9 return i;