Content-type: text/html
inet_netof - Translates an Internet address into its network address component
Standard C Library (libc.so, libc.a)
#include <arpa/inet.h>
in_addr_t inet_netof(
struct in_addr net_addr) ;
Interfaces documented on this reference page conform to industry standards as follows:
inet_netof(): XPG4-UNIX
Refer to the standards(5) reference page for more information about industry standards and associated tags.
Defines an Internet address in network-byte order.
The inet_netof() function translates an Internet address into its network address component. The network address integer is returned in host-byte order.
The inet_netof() function returns a host byte-ordered Internet network address.
Current industry standards for inet_netof() do not define error values.
Functions: inet_addr(3), inet_lnaof(3), inet_makeaddr(3), inet_network(3), inet_ntoa(3)
Standards: standards(5)
Network Programmer's Guide delim off