Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inet_lnaof(3) — OSF/1 SILVER Baselevel 4 rev36

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

OSF

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>

u_long inet_lnaof (
struct in_addr net_addr) ;

PARAMETERS

net_addrDefines an Internet address as a network byte-ordered integer.  May be expressed as octal (leading 0), hexadecimal (leading 0x or 0X), or decimal. 

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 network byte-order (most significant byte leftmost, least significant byte rightmost). 

RETURN VALUES

Upon successful completion, the inet_lnaof() function returns a network 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)

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