Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getnodeadd(3dn) — Ultrix DECnet 3.0 VAX

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getnodeadd(3dn)

NAME

getnodeadd − return the local node address

SYNTAX

#include <netdnet/dn.h>

struct dn_naddr *getnodeadd();

ARGUMENTS

Return Argument

dn_naddr
Specifies the node address structure. The following fields are filled in by this subroutine:

a_len Specifies the length of the returned node address. 

a_add Specifies the local node address. 

DESCRIPTION

The getnodeadd subroutine returns a pointer to a structure of the type dn_naddr, which contains the DECnet node address of your local DECnet-ULTRIX node.

RETURN VALUE

If the subroutine is successful, a pointer to a dn_naddr structure is returned.  If an error occurs, a value of 0 is returned.

RESTRICTIONS

If you plan to call this function again before you finish using the data, you must copy the data into a local structure. 

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