DOKK / manpages / debian 11 / libdnet-dev / setnodeent.3.en
SETNODEENT(3) Library Functions Manual SETNODEENT(3)

setnodeent - DECnet database seek function

#include <netdnet/dn.h>
#include <netdnet/dnetdb.h>

void setnodeent(int ent)

setnodeent seeks the next record to be retrieved by getnodeent. Actually this function is present only for compatibility with X11R6.

#include <netdnet/dn.h>
#include <netdnet/dnetdb.h>
#include <sys/socket.h>
main(void)
{
	setnodeent(1);	/* points to the first entry in decnet.conf */
}

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

July 28, 1998 DECnet database functions