12.3.65 SP_put_address()

Synopsis

     #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.

Arguments

term
The SP_term_ref to be assigned
pointer
The pointer

Return Value

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

See Also

Creating Prolog Terms.


Send feedback on this subject.