NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | ATTRIBUTES
#include <sys/param.h>unsigned long htonl(unsigned long hostlong);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
These routines convert 16- and 32-bit quantities between network byte order and host byte order. On architectures where the host byte order and network byte order are the same, these routines are defined as no-op macros.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | ATTRIBUTES