Create a foreign frame, holding a mark that allows the system to undo
bindings and destroy data created after it, as well as providing the
environment for creating term references. This function is called by the
kernel before calling a foreign predicate. Raise a resource exception
and returns (fid_t)0 on failure.
Tags are associated to your profile if you are logged in