chdir: collapse /./ and /../ in path for conventional filesystems
[profile/ivi/syslinux.git] / memdump / 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 }