int readnum(ulong off, char *buf, ulong n, ulong val, int size)
Readstr satisfies a read by copying data into buf from the NUL-terminated string in str. The data transferred is selected and limited by off, n and the length of str.
Readnum converts the unsigned integer val to a decimal representation in buf. The value is right-justified in a field of size-1 places and is followed by a blank. Size can be the global constant NUMSIZE for 32-bit integers; the largest size allowed is 64 bytes.
READNUM(10.2 ) | Rev: Thu Feb 15 14:42:59 GMT 2007 |