Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

dnet_htoa - DECnet address to host name translation

Description

dnet_htoa searches the decnet hosts file for addr and returns the DECnet node name.
       If no entry is found, returns the ascii DECnet address in the format area.node (1.1, 1.2, 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 node name is %s",dnet_htoa(binaddr));

       }

Name

       dnet_htoa - DECnet address to host name translation

See Also

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

DECnet database functions                         July 28, 1998                                     DNET_HTOA(3)

Synopsis

#include<netdnet/dn.h>#include<netdnet/dnetdb.h>char*dnet_htoa(structdn_naddr*addr)

See Also