dnet_htoa(3) debian man page | unix.com

Man Page: dnet_htoa

Operating Environment: debian

Section: 3

DNET_HTOA(3)						     Library Functions Manual						      DNET_HTOA(3)

NAME
dnet_htoa - DECnet address to host name translation
SYNOPSIS
#include <netdnet/dn.h> #include <netdnet/dnetdb.h> char *dnet_htoa (struct dn_naddr *addr)
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)); }
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)
Related Man Pages
dnet_accept(3) - debian
dnet_addr(3) - debian
dnet_getnode(3) - debian
dnet_nextnode(3) - debian
dnet_reject(3) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Installing Dash Shell on OS X Lion
Is UNIX an open source OS ?
How to copy a column of multiple files and paste into new excel file (next to column)?
New UNIX and Linux History Sections