STREAMS Programming Guide

htonl(3N) and ntohl(3N)

The htonl(3N) and ntohl(3N) conversion routines follow the XNS5 publications. The functions continue to convert 32-bit quantities between network byte order and host byte order.