RRSETRENTS(2)

NAME
rrsetrents, rremrent - Set LAM route information.

SYNOPSIS
#include <rreq.h>
int rrsetrents (int node, struct route *rents, nrents);
int rremrent (int node, int remnode);

ARGUMENTS

node
    where route information will be updated

rents
    array of route information structures (see getrents(2))

nrents
    array length

remnode
    node whose route information will be removed

DESCRIPTION
New nodes are added to the local route daemon by rrsetrents(). If the node already exists, its information is updated. Existing nodes are removed by rremrent().

Simply changing information in the local route daemon does not ensure that the changes are immediately visible to client processes. The LAM runtime system caches route information and the cache should be flushed if node information is changed or removed.

SEE ALSO
getrent(2)