---
name: "viewlotrs"
section: "3"
platform: "linux"
package: "alliance"
version: "5.1.1-3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/viewlotrs"
---

# viewlotrs(3)

display elements of a lotrs\_list

## NAME

viewlotrs - display elements of a **lotrs\_list**

## SYNOPSYS

```
#include "mlo.h"
void viewlotrs(pttrs)
lotrs_list ∗pttrs;
```

## PARAMETER

- *pttrs*

  Pointer to the **lotrs** to be scaned

## DESCRIPTION

**viewlotrs** scans all the primary elements of the **lotrs\_list**  loaded in ram, and displays a textual output of the data strcuture contents.\
 Its use is mostly for debugging purposes, and educational ones, since the output is quite verbose, even if very easy to understand.

## EXAMPLE

```
#include <stdio.h>
#include "mlo.h"
void view_trs(ptfig)
lofig_list ∗ptfig;
{
lotrs_list ∗trs;
	for (trs = ptfig->LOTRS; trs; trs = trs->NEXT)
		viewlotrs(trs);
}
```

## SEE ALSO

**mbk**(1), [**lotrs**(3)](/lotrs/3.md), [**viewlo**(3)](/viewlo/3.md), [**viewlofig**(3)](/viewlofig/3.md), [**viewlotrs**(3)](/viewlotrs/3.md), [**viewlosig**(3)](/viewlosig/3.md), [**viewloinscon**(3)](/viewloinscon/3.md), [**viewlofigcon**(3)](/viewlofigcon/3.md).
