setnodeent(3) DECnet database seek function

SYNOPSIS

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

void setnodeent(int ent)

DESCRIPTION

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

EXAMPLE

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