SP_put_string()
#include <sicstus/sicstus.h> int SP_put_string(SP_term_ref term, char const *string);
Assigns to term a reference to a Prolog atom.
term
Zero if the conversion fails (as far as failure can be detected), and a nonzero value otherwise.
Creating Prolog Terms.