Next: cpg-ref-SP_get_byte, Previous: cpg-ref-SP_get_arg, Up: cpg-bif [Contents][Index]
SP_get_atom()#include <sicstus/sicstus.h>
int
SP_get_atom(SP_term_ref term,
SP_atom *a);
Assigns to *a the canonical representation of a Prolog atom
The SP_term_ref holding the value
The location to assign
Zero if the conversion fails (as far as failure can be detected), and a nonzero value otherwise.