Query: dnet_ntoa
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DNET_NTOA(3) Library Functions Manual DNET_NTOA(3)NAMEdnet_ntoa - DECnet address to ascii translationSYNOPSIS#include <netdnet/dn.h> #include <netdnet/dnetdb.h> char *dnet_ntoa (struct dn_naddr *addr)DESCRIPTIONdnet_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 ALSOdnet_addr(3), dnet_htoa(3), dnet_conn(3), getnodeadd(3), getnodebyname(3), getnodebyaddr(3), setnodeent(3) DECnet database functions July 28, 1998 DNET_NTOA(3)