Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inet_makeaddr(3) — Digital UNIX 4.0d

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

inet_addr(3)

inet_lnaof(3)

inet_netof(3)

inet_network(3)

inet_ntoa(3)

standards(5)

inet_makeaddr(3)  —  Subroutines

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():  XPG4−UNIX

Refer to the standards(5) reference page for more information about industry standards and associated tags. 

PARAMETERS

net_numDefines a network number in host-byte order. 

loc_addrDefines 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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026