template<class character> unsigned get_atom_name(atom atom_to_get, character* buffer, int size)
This function queries the string associated with an atom.
atom atom_to_get
The atom whose associated string is being queried.
character* buffer
A pointer to a buffer to hold the associated string.
int size
The size of the buffer pointed to by the previous parameter.
unsigned
Zero is returned when the function fails; otherwise, the length of the string copied to the buffer (not including the terminating null character) is returned.
For an integer atom, the first character of the returned string is a pound sign (#) and the remaining characters of the string are the decimal digits of the integer value.