annotate libtest/local_endian.h @ 587:7bce90c844c2 default tip

tw5b-dump: support verbose invalid SID per TW-TS-002 v1.2.0
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Mar 2025 20:38:23 +0000
parents 9a9d05a8fc75
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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);