Next
Previous
Page Top
Content
Index
PDF
Help
Manuals
4 Endian Library
The Endian Library contains a few patterns to test for endianess and to convert data.
isBigEndian
: returns true if this machine is big endian
isLittleEndian
: returns true if this maching is little endian
ntohl
: converts a integer to host byteorder
ntonl
: converts a integer to network byteorder
ntohs
: converts a short to host byteorder
ntons
: converts a short to network byteorder
See the
Interface file
for details.
System Utilities - Reference Manual
©
1994-2002
Mjølner Informatics
[Modified: Tuesday October 17
th
2000 at 22:02]