dnet_ntoa(3dn)
NAME
dnet_ntoa − convert binary node address to ASCII
SYNTAX
#include <netdnet/dn.h>
char *dnet_ntoa (add)
struct dn_naddr *add;
ARGUMENTS
Input Argument
add Specifies a pointer to a structure of the type dn_naddr, which contains the node address.
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 node address.
DESCRIPTION
The dnet_ntoa subroutine converts a 16-bit binary node address to its ASCII string representation (area.number).
RETURN VALUE
A pointer to the ASCII string representation of the DECnet node address 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.