SP_put_integer()#include <sicstus/sicstus.h>
int
SP_put_integer(SP_term_ref term,
SP_integer i);
Assigns to term a reference to an integer.
The SP_term_ref to be assigned
The integer
Zero if the conversion fails (as far as failure can be detected), and a nonzero value otherwise.