static int valid_percentage ( char *  val  )  [static]

Determine if a percentage string is valid.

Definition at line 77 of file config.c.

00078 {
00079         unsigned long pct;
00080         char *end = NULL;
00081 
00082         pct = strtol(val, &end, 10);
00083         return (pct > 100 || end == NULL || *end != '\0');
00084 }

 All Data Structures Files Functions Variables Defines
Generated on Mon Mar 15 04:45:07 2010 for herrie by  doxygen 1.6.3