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