}
-int digitsQ(char *s){
- while (*s && *s - '0' >= 0 && *s - '0' <= 9) {
- s++;
- }
- if (*s) return 0;
- return 1;
-}
int validQ_int_string(char *to_convert, int *v){
/* check to see if this is a string is integer */
char *p = to_convert;
/* check to see if this is a string is integer (that can be casted into an integer variable hence very long list of digits are not valid, like 123456789012345. Return 1 if true, 0 if false. */
int validQ_int_string(char *to_convert, int *v);
-/* check to see if this is a string of digits consists of 0-9 */
-int digitsQ(char *to_convert);
-
#endif