Next: cpg-ref-SP_term_type, Previous: cpg-ref-SP_strdup, Up: cpg-bif [Contents][Index]
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 atom to inspect.
The encoded string if atom
is valid, and
0 otherwise.
Creating and Manipulating SP_term_refs.