Manual Page Result
0
Command: gethostsex | Section: 3 | Source: Digital UNIX | File: gethostsex.3.gz
gethostsex(3) Library Functions Manual gethostsex(3)
NAME
gethostsex - get the byte sex of the host machine
LIBRARY
The gethostsex() function has moved from the standard C library to the
libmld.a library. Programs that need to use gethostsex() must be
linked with the -lmld flag.
SYNOPSIS
int gethostsex()
DESCRIPTION
The gethostsex function returns one of two constants BIGENDIAN or LIT-
TLEENDIAN for the sex of the host machine. These constants are in
sex.h. delim off
gethostsex(3)