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

# viewloins(3)

display elements of a loins\_list

## NAME

viewloins - display elements of a **loins\_list**

## SYNOPSYS

```
#include "mlo.h"
void viewloins(pt)
loins_list ∗pt;
```

## PARAMETER

- *pt*

  Pointer to the **loins** to be scaned

## DESCRIPTION

**viewloins** scans all the primary elements of the **loins\_list**  pointed to by *pt*, and displays a textual output of the data strcuture contents. The *LOCON* field is scaned, and its contents displayed.\
 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_ins(ptfig)
lofig_list ∗ptfig;
{
loins_list ∗ins;
	for (ins = ptfig->LOINS; ins; ins = ins->NEXT)
		viewloins(ins);
}
```

## SEE ALSO

**mbk**(1), [**loins**(3)](/loins/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), [**viewloinscon**(3)](/viewloinscon/3.md).
