English pages are provided only to compare translations to original pages,
better looking pages can be browsed
at the Linux man-pages official site.
Linux Programmer's Manual (3)
a64l, l64a - convert between long and base-64
long a64l(char *str64);
char *l64a(long value);
Feature Test Macro Requirements for glibc (see
_SVID_SOURCE || _XOPEN_SOURCE >= 500 ||
_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
These functions provide a conversion between 32-bit long integers
and little-endian base-64 ASCII strings (of length zero to six).
If the string used as argument for
has length greater than six, only the first six bytes are used.
If the type
has more than 32 bits, then
uses only the low order 32 bits of
sign-extends its 32-bit result.
The 64 digits in the base-64 system are:
'.' represents a 0
'/' represents a 1
0-9 represent 2-11
A-Z represent 12-37
a-z represent 38-63
So 123 = 59*64^0 + 1*64^1 = "v/".
Multithreading (see pthreads(7))
function is not thread-safe.
function is thread-safe.
The value returned by
may be a pointer to a static buffer, possibly overwritten
by later calls.
The behavior of
is undefined when
is zero, it returns an empty string.
These functions are broken in glibc before 2.2.5
(puts most significant digit first).
This is not the encoding used by
This page is part of release 3.66 of the Linux
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at
- Multithreading (see pthreads(7))
- CONFORMING TO
- SEE ALSO
This document was created by
using the manual pages.
Time: 21:42:59 GMT, July 12, 2014