12.3.78 SP_put_string()

Synopsis

     #include <sicstus/sicstus.h>
     
     int
     SP_put_string(SP_term_ref term,
                   char const *string);

Assigns to term a reference to a Prolog atom.

Arguments

term
The SP_term_ref to be assigned
string
The string corresponding to the atom

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.