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