Query: byteorder
OS: hpux
Section: 3n
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
byteorder(3N) byteorder(3N)NAMEhtonl(), htons(), ntohl(), ntohs() - convert values between host and network byte orderSYNOPSISDESCRIPTIONThese routines convert 16- and 32-bit quantities between network byte order and host byte order. On HP-UX systems, network and host byte orders are identical, so these routines are defined as null macros in the include file If is defined then these routines are defined in the include file These routines are most often used in conjunction with Internet addresses and ports as returned by and (see gethostent(3N) and getser- vent(3N)). Use these routines to write portable programs.AUTHORwas developed by the University of California, Berkeley.SEE ALSOgethostent(3N), getservent(3N).STANDARDS CONFORMANCEbyteorder(3N)
Related Man Pages |
---|
byteorder(3) - freebsd |
htonl(3socket) - sunos |
byteorder(3) - mojave |
htons(3) - freebsd |
htonl(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
perl -MConfig -e 'print "$Config{byteorder}\n";' |