Poster of Linux kernelThe best gift for a Linux geek
DNET_NTOA

DNET_NTOA

Section: C Library Functions (3) Updated: July 28, 1998
Local index Up
 

NAME

dnet_ntoa - DECnet address to ascii translation  

SYNOPSIS

#include <netdnet/dn.h>
#include <netdnet/dnetdb.h>

char *dnet_ntoa (struct dn_naddr *addr)

 

DESCRIPTION

dnet_ntoa Converts the binary DECnet address addr into area.node ascii notation (1.1, 63.4, etc).

 

EXAMPLE


#include <netdnet/dn.h>
#include <netdnet/dnetdb.h>
#include <sys/socket.h>

main(void)
{
    struct dn_naddr             binaddr;

    binaddr.a_len       = 2;
    binaddr.a_addr[0]   = 0x02;                 
    binaddr.a_addr[1]   = 0x04;

    printf ("DECnet area.node is %s",dnet_ntoa(binaddr));
    
}

 

SEE ALSO

dnet_addr(3), dnet_htoa(3), dnet_conn(3), getnodeadd(3), getnodebyname(3), getnodebyaddr(3), setnodeent(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:45:09 GMT, April 16, 2011