Unload the foreign resource Resource from Prolog. Relies on the
file_spec, must be ground
The foreign resource to be unloaded. The file extension can be omitted.
Resource not ground.
Resource not an atom.
Resource does not exist as a foreign resource.
Calling C from Prolog.