SP_get_string()
#include <sicstus/sicstus.h> int SP_get_string(SP_term_ref term, char const **s);
Assigns to *s
a pointer to the encoded string
representing the name of a Prolog atom. This string must
not be modified by the calling function.
Zero if the conversion fails (as far as failure can be detected), and a nonzero value otherwise.