Query: getnodebyname
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GETNODEBYNAME(3) Library Functions Manual GETNODEBYNAME(3)NAMEgetnodebyname - DECnet node entry retrieval by addressSYNOPSIS#include <netdnet/dn.h> #include <netdnet/dnetdb.h> struct nodeent *getnodebyname (char *name)DESCRIPTIONgetnodebyname searches the decnet hosts file for the DECnet node with name equal to name and returns node information into the nodeent structure. If no entry is found, returns NULLEXAMPLE#include <netdnet/dn.h> #include <netdnet/dnetdb.h> #include <sys/socket.h> main(void) { struct nodeent *dp; if ( (dp=getnodebyname("mv3100")) == NULL) printf("Error, cannot find node entry"); else printf("Node name is %s",dp->n_name); }SEE ALSOdnet_htoa(3), dnet_ntoa(3), dnet_conn(3), dnet_addr(3), getnodebyaddr(3), getnodeadd(3), setnodeent(3) DECnet database functions July 28, 1998 GETNODEBYNAME(3)
Related Man Pages |
---|
dnet_conn(3) - debian |
dnet_eof(3) - debian |
getnodebyaddr(3) - debian |
getnodebyname(3) - debian |
roardecnet(7) - debian |
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
Is UNIX an open source OS ? |
One instance of comparing grep and awk |
Weird 'find' results |
New UNIX and Linux History Sections |