Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
VIEWLOCAP(3)		     MBK LOGICAL FUNCTIONS		  VIEWLOCAP(3)

NAME
       viewlocap - display elements of a locap_list

SYNOPSIS
       #include	"mlo.h"

       void viewlocap(ptcap)
       locap_list *ptcap ;

PARAMETER
       ptcap		   Pointer to the locap	to be scanned

DESCRIPTION
       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.

EXAMPLE
       #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) ;
	  }
       }

SEE ALSO
       mbk(1),	locap(3), viewlo(3), viewlofig(3), viewlocap(3), viewlosig(3),
       viewloinscon(3),	viewlofigcon(3).

ASIM/LIP6			August 14, 2002			  VIEWLOCAP(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=viewlocap&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help