12.3.94 SP_string_from_atom()

Synopsis

     #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.

Arguments

atom
The atom to inspect.

Return Value

The encoded string if atom is valid, and 0 otherwise.

See Also

Creating and Manipulating SP_term_refs.


Send feedback on this subject.