12.3.1 SP_atom_from_string()

Synopsis

     #include <sicstus/sicstus.h>
     
     SP_atom
     SP_atom_from_string(char const *str);

Finds the Prolog atom whose characters are encoded by str.

Arguments

str
The characters comprising the atom.

Return Value

The SP_atom, if str is a valid internal character encoding, and 0 otherwise.

See Also

Creating and Manipulating SP_term_refs.


Send feedback on this subject.