Functions | |
bool | isLAM (SatAddr src) |
char * | LAMdecode (SatAddr src, char *dst) |
Convert a LAM to a null-terminated string. | |
SatAddr | LAMencode (const char *src, SatAddr dst) |
Convert a null-terminated C string into a LAM object. | |
SatAddr | makeLAM (unsigned size) |
Allocate space for a LAM with size characters. | |
int | LAMnibbles (SatAddr src) |
Return the size in nibbles of the LAM at src. | |
int | LAMnumChars (SatAddr src) |
return the number of characters in a LAM |
src | Saturn address of an object |
char* LAMdecode | ( | SatAddr | src, | |
char * | dst | |||
) |
Convert a LAM to a null-terminated string.
src | The Saturn address of a LAM | |
dst | A pointer to a buffer with sufficient space to hold the name, or zero. If the value is zero then space will be malloc'ed to hold the name. |
Convert a null-terminated C string into a LAM object.
src | The null-terminated string. It must be less than 256 characters in length. | |
dst | The Saturn address where the LAM should be stored. If dst is zero then space is allocated for the LAM Otherwise dst must point to sufficient space for the LAM |
int LAMnibbles | ( | SatAddr | src | ) |
Return the size in nibbles of the LAM at src.
src | the Saturn address of a LAM object |
int LAMnumChars | ( | SatAddr | src | ) |
return the number of characters in a LAM
src | The Saturn address of a LAM |
SatAddr makeLAM | ( | unsigned | size | ) |
Allocate space for a LAM with size characters.
size | The number of characters in the LAM |