valtoa - convert value to ASCII string
char *valtoa (buf, type, size)
This function converts a binary value pointed to by buf to a
character string. The type parameter names the data type of the
data and is one of the data types named in the include file
the binary field that contains the value. The sizeof() function
should be used to determine this value.
p = valtoa (&datefld, DATE_TYPE, sizeof(datefld));
p = valtoa (&count, INT_TYPE, sizeof(count));
p = valtoa (&links, INT_TYPE, sizeof(links));
p = valtoa (&amount, MONEY_TYPE, sizeof(amount));
The character string returned is contained in static data that
is overwritten with every call.