#include #include #include #include #ifndef _FWRITE_LE_H #define _FWRITE_LE_H #define FWRITE_LE_NO_MODIFICATION 0 #define DETECTED_LITTLE_ENDIAN 0 #define DETECTED_BIG_ENDIAN 1 #define UNSUPPORTED_ENDIANNESS -1 int detect_endianness(void); size_t fwrite_le(void* ptr, size_t size, size_t count, FILE* stream); #endif /* _FWRITE_LE_H */