31 #ifndef STRING_TO_TYPE 32 #error "STRING_TO_TYPE not defined" 35 #ifndef STRING_TO_NAME 36 #error "STRING_TO_NAME not defined" 39 #ifndef STRING_TO_METHOD 40 #error "STRING_TO_METHOD not defined" 44 #error "STRING_TO_MAX not defined" 54 unsigned long long result;
73 if ( (result == 0) && errno )
77 if ( (result == LONG_MAX) && (errno == ERANGE))
86 if ( (result == STRING_TO_MIN) && (errno == ERANGE))
bool STRING_TO_NAME(const char *s, STRING_TO_TYPE *n, char **endptr, int base)