#include <sicstus/sicstus.h> int SP_put_list_codes(SP_term_ref term, SP_term_ref tail, char const *s);
term a Prolog code-list represented by the
s, prepended to the value of
The SP_term_ref to be assigned
The tail of the code-list
The string to convert
Zero if the conversion fails (as far as failure can be detected), and a nonzero value otherwise.
Creating Prolog Terms.