Next: , Previous: , Up: cpg-bif   [Contents][Index]


12.3.66 SP_put_atom()

Synopsis

#include <sicstus/sicstus.h>

int
SP_put_atom(SP_term_ref term,
            SP_atom atom);

Assigns to term a reference to a Prolog atom.

Arguments

term

The SP_term_ref to be assigned

atom

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.