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

FreeBSD Manual Pages

  
 
  

home | help
VIEWRDSFIG(3)		    RDS	PHYSICAL FUNCTIONS		 VIEWRDSFIG(3)

NAME
	viewrdsfig - view caracteristics of a figure

SYNOPSYS
	#include "rdsnnn.h"
	 void viewrdsfig( Figure )
	  rdsins_list *Figure;

PARAMETER
       Figure		   Pointer to the figure to visualize.

DESCRIPTION
       The  viewrdsfig	function  displays caracteristics of the figure	called
       'Figure'	and all	the objets contained in	this figure.

       figure's	parameters displayed to	screen :

	      NAME   figure's name.

	      MODE   loading mode of the figure.

	      SIZE   size of user structure added to  the  rdsrec_list	struc-
		     ture.
       Displays	 also  rectangle  and  instance	 parameters of the figure (see
       viewrdsins and viewrdsrec functions).

RETURN VALUE
       nothing

ERRORS
       none

EXAMPLE
	       #include	"mutnnn.h"
	       #include	"rdsnnn.h"
	       #include	"rtlnnn.h"
	       typedef struct UserStruct
		{
		  char *STRING;
		  void *USER1;
		} UserStruct;
		main()
		 {
		   rdsfig_list *Figure;
		   rdsrec_list *Rectangle;
		   rdsins_list *Instance;
		   mbkenv();
		   rdsenv();
		   loadrdsparam();
		   Figure = addrdsfig ("core",sizeof ( UserStruct ) );
		   Instance  = addrdsins (Figure,"na2_y","and2",RDS_NOSYM,8,6);
		   Rectangle =
		    addrdsfigrec(Figure,"Alu1",RDS_ALU1,2,4,12,1);
		   /*
		     visualization of the figure and its items
		   */
		   /* */ viewrdsfig ( Figure );
		 }

SEE ALSO
       librds, viewrdsrec, viewrdsins

ASIM/LIP6			October	1, 1997			 VIEWRDSFIG(3)

NAME | SYNOPSYS | PARAMETER | DESCRIPTION | RETURN VALUE | ERRORS | EXAMPLE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=viewrdsfig&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help