• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "mystuff.h"
2 
atou(const char * s)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