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

# viewlores(3)

display elements of a lores\_list

## NAME

viewlores - display elements of a **lores\_list**

## SYNOPSYS

```
#include "mlo.h"
void viewlores(ptres)
lores_list ∗ptres ;
```

## PARAMETER

- *ptres*

  Pointer to the **lores** to be scaned

## DESCRIPTION

**viewlores** scans all the primary elements of the **lores\_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_res(lofig_list ∗ptfig)
{
  lores_list ∗res = NULL ;
  for(res = ptfig -> LORES ; res != NULL ; res = res -> NEXT)
	{
	  viewlores(res) ;
	}
}
```

## SEE ALSO

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