*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> gethostsex (3)              
Title
Content
Arch
Section
 

gethostsex(3)

Contents


NAME    [Toc]    [Back]

       gethostsex - get the byte sex of the host machine

SYNOPSIS    [Toc]    [Back]

       int gethostsex( );

LIBRARY    [Toc]    [Back]

       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 option.

DESCRIPTION    [Toc]    [Back]

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



                                                    gethostsex(3)
[ Back ]
 Similar pages
Name OS Title
ntohl Tru64 Convert an unsigned 32-bit integer from Internet network byte order to host byte order
htons Tru64 Convert an unsigned short (16-bit) integer from host byte order to network byte order
htonl Tru64 Convert an unsigned 32-bit integer from host byte
byteorder NetBSD convert values between host and network byte order
byteorder IRIX convert values between host and network byte order
htons NetBSD convert values between host and network byte order
byteorder Linux convert values between host and network byte order
htonl NetBSD convert values between host and network byte order
byteorder FreeBSD convert values between host and network byte order
ntohl NetBSD convert values between host and network byte order
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service