FreeCalypso > hg > gsm-codec-lib
annotate 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 |
rev | line source |
---|---|
560
9a9d05a8fc75
libtest: add function for local native endian
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
9a9d05a8fc75
libtest: add function for local native endian
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 * This header file defines the interface to our utility function |
9a9d05a8fc75
libtest: add function for local native endian
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 * that determines the local machine's native byte order, thereby |
9a9d05a8fc75
libtest: add function for local native endian
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 * providing a default for file reading functions that can be overridden |
9a9d05a8fc75
libtest: add function for local native endian
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 * with -b or -l options. |
9a9d05a8fc75
libtest: add function for local native endian
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 */ |
9a9d05a8fc75
libtest: add function for local native endian
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
9a9d05a8fc75
libtest: add function for local native endian
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 int is_native_big_endian(void); |