viewrfmseg(3)
displays segment caracteristics in MBK and RDS format.
SYNOPSYS
#include "rfmnnn.h"
void viewrfmseg( Segment, Rectangle )
phseg_list *Segment;
rdsrec_list *Rectangle;
PARAMETER
- Segment
-
MBK segment to visualizate.
- Rectangle
-
RDS segment to visualizate.
DESCRIPTION
The viewrfmseg function displays caracteristics of a segment in MBK and RDS format.
RETURN VALUE
nothing
ERRORS
none
EXAMPLE
#include "mphnnn.h"
#include "mutnnn.h"
#include "rdsnnn.h"
#include "rfmnnn.h"
#include "rtlnnn.h"
typedef struct UserStruct
{
char *STRING;
void *USER1;
} UserStruct;
main()
{
phfig_list *MbkFigure;
rdsfig_list *RdsFigure;
rdsrec_list *RdsSegment;
mbkenv();
rdsenv();
loadrdsparam();
RdsFigure =
addrdsfig ("core",sizeof ( UserStruct ) );
MbkFigure->PHSEG =
addphseg ( MbkFigure, ALU1, 1, 1, 1, 2, 12, "seg_alu1");
RdsSegment = segmbkrds(RdsFigure, MbkFigure->PHSEG,0);
/* */ viewrfmseg ( MbkFigure->PHSEG, RdsSegment );
}