view 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 source

/*
 * 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);