Converts base-64 long integers to strings.
Thread-Safe C Library (libc_r.a)
#include <stdlib.h>
int l64a_r (Convert, Buffer, Length)
long Convert;
char * Buffer;
int Length;
The l64a_r subroutine converts a given long integer into a base-64 string.
For base-64 characters, the
following ASCII characters are used:
. | Represents 0. |
/ | Represents 1. |
0 -9 | Represents the numbers 2-11. |
A-Z | Represents the numbers 12-37. |
a-z | Represents the numbers 38-63. |
The l64a_r subroutine places the converted base-64 string in the buffer pointed to by the Buffer parameter.
If the l64a_r subroutine
is not successful, it returns the following error code:
EINVAL | The Buffer parameter value is invalid or too small to hold the resulting ASCII string. |
These subroutines are part of Base Operating System (BOS) Runtime.
Programs using this subroutine must link to the libpthreads.a library.
Subroutines Overview in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.
List of Multithread Subroutines in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.