debian man page for getnodeadd

Query: getnodeadd

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

GETNODEADD(3)						     Library Functions Manual						     GETNODEADD(3)

NAME
getnodeadd - DECnet address of executor node
SYNOPSIS
#include <netdnet/dn.h> #include <netdnet/dnetdb.h> struct dn_naddr *getnodeadd (void)
DESCRIPTION
getnodeadd searches the decnet hosts file for the executor node and returns the DECnet address in the dn_naddr structure If no entry is found, returns NULL
EXAMPLE
#include <netdnet/dn.h> #include <netdnet/dnetdb.h> #include <sys/socket.h> main(void) { struct dn_naddr *binaddr; if ( (binaddr=getnodeadd()) == NULL) printf("Error, cannot find executor node address"); else printf("getnodeadd successfully got executor node address"); }
SEE ALSO
dnet_htoa(3), dnet_ntoa(3), dnet_conn(3), dnet_addr(3), getnodebyname(3), getnodebyaddr(3), setnodeent(3) DECnet database functions July 28, 1998 GETNODEADD(3)
Related Man Pages
dnet_addr(3) - debian
dnet_getnode(3) - debian
getnodebyaddr(3) - debian
getnodeadd(3) - debian
roardecnet(7) - debian
Similar Topics in the Unix Linux Community
KontrolPack 1.1.0 (Default branch)
KontrolPack 1.1.2 (Default branch)
KontrolPack 1.2.0 (Default branch)
KontrolPack 1.2.2 (Default branch)