Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inet_netof(3) — Tru64 UNIX 5.0a

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

inet_addr(3)

inet_lnaof(3)

inet_makeaddr(3)

inet_network(3)

inet_ntoa(3)

standards(5)

inet_netof(3)  —  Subroutines

NAME

inet_netof − Translates an Internet address into its network address component

LIBRARY

Standard C Library (libc.so, libc.a)

SYNOPSIS

#include <arpa/inet.h> in_addr_t inet_netof(
struct in_addr net_addr) ;

STANDARDS

Interfaces documented on this reference page conform to industry standards as follows:

inet_netof():  XNS4.0

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

PARAMETERS

net_addrDefines an Internet address in network-byte order. 

DESCRIPTION

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

RETURN VALUES

The inet_netof() function returns a host byte-ordered Internet network address. 

ERRORS

Current industry standards for inet_netof() do not define error values. 

RELATED INFORMATION

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

Standards: standards(5)

Network Programmer’s Guide

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