Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inet_ntoa(3) — OSF/1 X2.0-8 MIPS

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

inet_netof(3)

inet_lnaof(3)

inet_makeaddr(3)

inet_addr(3)

inet_network(3)

inet_ntoa(3)  —  Subroutines

OSF

NAME

inet_ntoa − Translates an Internet integer address into a dot-formatted character string

LIBRARY

Standard C Library (libc.a)

SYNOPSIS

#include <netinet/in.h> #include <arpa/inet.h> char ∗inet_ntoa (
struct in_addr net_addr );

PARAMETERS

net_addr Defines an Internet network-byte ordered integer address to be converted to an equivalent character string. 

DESCRIPTION

The inet_ntoa() functiontranslates an Internet byte-ordered address integer into a dot-formatted character string. The dot-formatted string is returned in network-byte order (most significant byte leftmost, least significant byte rightmost). 

RETURN VALUES

Upon successful completion, the inet_ntoa() functionreturns a dot-formatted Internet character string address.When the inet_ntoa() function fails, -1 is returned. 

RELATED INFORMATION

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

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