Convert and write a signed 32-bit littleendian value.
Defined in <physfs.h>
int PHYSFS_writeSLE32(PHYSFS_File *file, PHYSFS_sint32 val);| PHYSFS_File * | file | PhysicsFS file handle to which to write. |
| PHYSFS_sint32 | val | Value to convert and write. |
(int) Returns zero on failure, non-zero on success. On failure, you can find out what went wrong from PHYSFS_getLastErrorCode().
Convenience function. Convert a signed 32-bit value from the platform's native byte order to littleendian and write it to a file.
Multiple threads can not operate on the same PHYSFS_File at the same time, but they can safely operate on different ones simultaneously.
This function is available since PhysicsFS 1.0.0.