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