FreeCalypso > hg > gsm-codec-lib
annotate libtest/local_endian.h @ 577:d68b2c92464a
libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 13 Feb 2025 03:06:11 +0000 |
parents | 9a9d05a8fc75 |
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); |