Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inet_ntoa(3) — Digital UNIX 3.2c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

inet_addr(3)

inet_lnaof(3)

inet_makeaddr(3)

inet_netof(3)

inet_network(3)

inet_ntoa(3)  —  Subroutines

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_addrDefines an Internet network-byte ordered integer address to be converted to an equivalent character string. 

DESCRIPTION

The inet_ntoa() function translates an Internet byte-ordered address integer into a dot-formatted character string. 

RETURN VALUES

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

RELATED INFORMATION

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

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