inet_netof(3)inet_netof(3)NAMEinet_netof - Translate an Internet address into its network address
component
SYNOPSIS
#include <arpa/inet.h>
in_addr_t inet_netof(
struct in_addr net_addr );
LIBRARY
Standard C Library (libc)
STANDARDS
Interfaces documented on this reference page conform to industry stan‐
dards as follows:
inet_netof(): XNS4.0, XNS5.0
Refer to the standards(5) reference page for more information about
industry standards and associated tags.
PARAMETERS
Defines an Internet address in network-byte order.
DESCRIPTION
The inet_netof() function translates an Internet address into its net‐
work address component. The network address integer is returned in
host-byte order.
RETURN VALUES
The inet_netof() function returns a host byte-ordered Internet network
address.
ERRORS
Current industry standards for inet_netof() do not define error values.
SEE ALSO
Functions: inet_addr(3), inet_lnaof(3), inet_makeaddr(3), inet_net‐
work(3), inet_ntoa(3)
Standards: standards(5)
Network Programmer's Guide
inet_netof(3)