Returns 1 ( TRUE
) on success, 0 ( FALSE
) on failure (e.g. if you pass it a term_t
that designates a string instead of an atom).
The memory holding the char *
is not supposed to be under our management, so just leave it be and let it go out of scope.
This fails if the atom is not an 8-bit-char string.