Home | History | Annotate | Download | only in dos
      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