Next: cpg-ref-SP_put_atom, Previous: cpg-ref-SP_printf, Up: cpg-bif [Contents][Index]
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.
The SP_term_ref to be assigned
The pointer
Zero if the conversion fails (as far as failure can be detected), and a nonzero value otherwise.