z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


ntohl()

z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
SC27-3660-00

The ntohl() call translates a long integer from network byte order to host byte order.

#include <manifest.h>
#include <bsdtypes.h>
#include <in.h>
 
unsigned long ntohl(unsigned long a)
Parameter
Description
a
The unsigned long integer to be put into host byte order

Return values

Returns the translated long integer

Related calls

htonl(), htons(), ntohs()

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014