Next: , Previous: , Up: cpg-bif   [Contents][Index]


12.3.24 SP_get_address()

Synopsis

#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

Arguments

term

The SP_term_ref holding the value

p

The location to assign

Return Value

Zero if the conversion fails (as far as failure can be detected), and a nonzero value otherwise.

See Also

Accessing Prolog Terms.


Send feedback on this subject.