Searched refs:todigit (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/lib/libnsl/dial/
H A Dstoa.c50 #define todigit(c) ((int)((c) - '0')) /* char to digit */ macro
51 #define toxdigit(c) ((isdigit(c))?todigit(c):(toupper(c)-(int)'A'+10))
180 buf[--bp] = (todigit(*end) >> (8 - shift))
/osnet-11/usr/src/lib/libc/port/print/
H A Dprint.h97 #define todigit(x) ((x)+'0') macro
H A Ddoprnt.c1392 *--suffix = todigit(nn % 10);
1393 *--suffix = todigit(nn);
1487 *--suffix = todigit(nn % 10);
1488 *--suffix = todigit(nn);

Completed in 29 milliseconds