Lines Matching refs:base
42 setmsg(char *msg, short base) in setmsg() argument
44 if ((base == 0) || (base == 10)) in setmsg()
47 (void) sprintf(msg, "Please enter a base %d integer.", base); in setmsg()
51 setprmpt(char *prmpt, short base) in setprmpt() argument
53 if ((base == 0) || (base == 10)) in setprmpt()
56 (void) sprintf(prmpt, "Enter a base %d integer.", base); in setprmpt()
60 ckint_val(char *value, short base) in ckint_val() argument
64 (void) strtol(value, &ptr, (int)base); in ckint_val()
71 ckint_err(short base, char *error) in ckint_err() argument
75 setmsg(defmesg, base); in ckint_err()
80 ckint_hlp(short base, char *help) in ckint_hlp() argument
84 setmsg(defmesg, base); in ckint_hlp()
89 ckint(long *intval, short base, char *defstr, char *error, char *help, in ckint() argument
99 setprmpt(temp, base); in ckint()
102 setmsg(defmesg, base); in ckint()
111 *intval = strtol(defstr, NULL, (int)base); in ckint()
122 value = strtol(input, &ptr, (int)base); in ckint()