---
name: "rrsetrents"
section: "2"
platform: "linux"
package: "lam2-dev"
version: "6.3.2-3"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/rrsetrents"
---

# rrsetrents(2)

Set LAM route information.

## 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)](/getrent/2.md)
