1 2 3 4 5 6 7 8 9 10
#include "mystuff.h" unsigned int skip_atou(const char **s) { int i=0; while (isdigit(**s)) i = i*10 + *((*s)++) - '0'; return i; }