inet_makeaddr(3) Library Functions Manual inet_makeaddr(3)
NAME
inet_makeaddr - Translates an Internet network address and host address into an Internet network byte-ordered address
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <arpa/inet.h>
struct in_addr inet_makeaddr( in_addr_t net_num, in_addr_t loc_addr) ;
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
inet_makeaddr(): XNS4.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 values.
RELATED INFORMATION
Functions: inet_addr(3), inet_lnaof(3), inet_netof(3), inet_network(3), inet_ntoa(3)
Standards: standards(5)
Network Programmer's Guide delim off
inet_makeaddr(3)