# PHYSFS_readSLE32 Read and convert a signed 32-bit littleendian value. ## Header File Defined in [](https://github.com/icculus/physfs/blob/main/src/physfs.h) ## Syntax ```c int PHYSFS_readSLE32(PHYSFS_File *file, PHYSFS_sint32 *val); ``` ## Function Parameters | | | | | -------------------------------- | -------- | ----------------------------------------- | | [PHYSFS_File](PHYSFS_File) * | **file** | PhysicsFS file handle from which to read. | | [PHYSFS_sint32](PHYSFS_sint32) * | **val** | pointer to where value should be stored. | ## Return Value (int) Returns zero on failure, non-zero on success. If successful, `*val` will store the result. On failure, you can find out what went wrong from [PHYSFS_getLastErrorCode](PHYSFS_getLastErrorCode)(). ## Remarks Convenience function. Read a signed 32-bit littleendian value from a file and convert it to the platform's native byte order. ## Thread Safety Multiple threads can not operate on the same [PHYSFS_File](PHYSFS_File) at the same time, but they can safely operate on _different_ ones simultaneously. ## Version This function is available since PhysicsFS 1.0.0. ---- [CategoryAPI](CategoryAPI), [CategoryAPIFunction](CategoryAPIFunction), [CategoryPhysicsFS](CategoryPhysicsFS)