viewrdsfig(3) - Linux man page

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

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