SP_get_address()
#include <sicstus/sicstus.h> int SP_get_address(SP_term_ref term, void **p);
Assigns to *p
the pointer that corresponds
to a Prolog integer
Zero if the conversion fails (as far as failure can be detected), and a nonzero value otherwise.