FreeCalypso > hg > gsm-codec-lib
annotate libtest/local_endian.h @ 566:62fe499ffc15
hrutil: new program gsmhr-hex2rpf
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 12 Feb 2025 01:48:01 +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); |