setnodeent(3)

setnodeent3

Decnet database seek function

Usage

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

void setnodeent(int ent)

Overview

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

Examples

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

Releases

Unchanged in 9 releases since Debian 3.0 (Woody).

  1. 3.0–10

From libdnet-dev 2.65+b1 in Debian 10 (Buster). Parsed by carta from the page's man source.