SP_string_from_atom()
#include <sicstus/sicstus.h> char const * SP_string_from_atom(SP_atom atom);
Obtains the encoded string holding the characters of a Prolog atom. This string must not be modified by the calling function.
The encoded string if atom
is valid, and
0 otherwise.
Creating and Manipulating SP_term_refs.