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

# viewloinscon(3)

display elements of a locon\_list attached to an instance

## NAME

**viewloinscon** - display elements of a **locon\_list** attached to an instance

## SYNOPSYS

```
#include "mlo.h"
void viewloinscon(ptcon)
locon_list ∗ptcon;
```

## PARAMETER

- *ptcon*

  Pointer to the **locon** to be scaned

## DESCRIPTION

**viewloinscon** scans all the primary elements of the **locon\_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_inscon(ptins)
loins_list ∗ptins;
{
locon_list ∗inscon;
	for (inscon = ptins->LOCON; inscon; inscon = inscon->NEXT)
		viewloinscon(inscon);
}
```

## SEE ALSO

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