Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inet_lnaof(3) — Digital UNIX 3.2c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

inet_addr(3)

inet_netof(3)

inet_makeaddr(3)

inet_network(3)

inet_ntoa(3)

inet_lnaof(3)  —  Subroutines

NAME

inet_lnaof − Translates an Internet address integer into its host (local) address component

LIBRARY

Standard C Library (libc.a)

SYNOPSIS

#include <netinet/in.h>

#include <arpa/inet.h>

unsigned int inet_lnaof (
struct in_addr net_addr) ;

PARAMETERS

net_addrDefines an Internet address as a network byte-ordered integer. 

DESCRIPTION

The inet_lnaof() function translates an Internet network byte-ordered address into its host (local) address component. The host address integer is returned in host byte-order. 

RETURN VALUES

Upon successful completion, the inet_lnaof() function returns a host byte-ordered integer that specifies the host (local) address part of the Internet network address integer.  When the inet_lnaof() function fails, -1 is returned. 

RELATED INFORMATION

Functions: inet_addr(3), inet_netof(3), inet_makeaddr(3), inet_network(3), inet_ntoa(3)

Network Programmer’s Guide

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