Deinitialize the PhysicsFS library.
nonzero on success, zero on error. Specifics of the error can be gleaned from PHYSFS_getLastError. If failure, state of PhysFS is undefined, and probably badly screwed up.
Note that this call can FAIL if there's a file open for writing that refuses to close (for example, the underlying operating system was buffering writes to network filesystem, and the fileserver has crashed, or a hard drive has failed, etc). It is usually best to close all write handles yourself before calling this function, so that you can gracefully handle a specific failure.
Once successfully deinitialized, PHYSFS_init can be called again to restart the subsystem. All defaults API states are restored at this point.
Fs Class | Tao.PhysFs Namespace | PHYSFS_init