viewlocap(3)

viewlocap3

Display elements of a locap_list

Synopsys

#include "mlo.h"
void viewlocap(ptcap)
locap_list ∗ptcap ;

Parameter

ptcap

Pointer to the locap to be scaned

Overview

viewlocap scans all the primary elements of the locap_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.

Examples

#include <stdio.h>
#include "mlo.h"
void view_cap(lofig_list ∗ptfig)
{
  locap_list ∗cap = NULL ;
  for(cap = ptfig -> LOCAP ; cap != NULL ; cap = cap -> NEXT)
	{
	  viewlocap(cap) ;
	}
}

Releases

Unchanged in 4 releases since Debian 7 (Wheezy).

  1. 7–10

From alliance 5.1.1-3 in Debian 10 (Buster). Parsed by carta from the page's man source.