gethostsex(3) — Subroutines
Digital
NAME
gethostsex − get the byte sex of the host machine
SYNOPSIS
int gethostsex()
DESCRIPTION
gethostsex returns one of two constants BIGENDIAN or LITTLEENDIAN for the sex of the host machine. These constants are in sex.h.