FreeCalypso > hg > gsm-codec-lib
diff libtest/local_endian.h @ 560:9a9d05a8fc75
libtest: add function for local native endian
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 11 Feb 2025 23:59:21 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libtest/local_endian.h Tue Feb 11 23:59:21 2025 +0000 @@ -0,0 +1,8 @@ +/* + * This header file defines the interface to our utility function + * that determines the local machine's native byte order, thereby + * providing a default for file reading functions that can be overridden + * with -b or -l options. + */ + +int is_native_big_endian(void);