a64l(), l64a() — convert between long integer and base-64 ASCII string
long int a64l(const char *s);
char *l64a(long int l);
int l64a_r(long int l, char *buffer, int buflen);
These functions are used to maintain numbers stored in
This is a notation by which
long integers can be represented by up to six characters; each character
represents a "digit" in a radix-64 notation.
The characters used to represent "digits"
for 12-37, and
The leftmost character is the least
significant digit. For example,
a0 = (38 x 640) + (2 x 641) = 166
takes a pointer to a null-terminated base-64 representation and returns
If the string pointed to by
contains more than six characters,
uses the first six.
argument and returns a pointer to the corresponding base-64 representation.
If the argument is 0,
returns a pointer to a
converts between long integer and base-64 ASCII string.
The value returned by
is a pointer into a buffer,
the contents of which are overwritten subsequent calls
by the same thread.
is an obsolescent interface supported only for compatibility with existing
DCE applications. New multithreaded applications should use
a64l(): SVID2, SVID3
l64a(): SVID2, SVID3