Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gethostsex(3) — Ultrix/UWS 4.2 RISC

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

swapsex(3)

gethostsex(3)  —  RISC

Name

gethostsex − get the byte sex of the host machine

Syntax

#include <sex.h>
int gethostsex()

Description

The gethostsex routine returns one of two constants, BIGENDIAN or LITTLEENDIAN, for the sex of the host machine.  These constants are in sex.h. 

See Also

swapsex(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026