DOKK / manpages / debian 10 / alliance / delrdsinsrec.3.en
DELRDSINSREC(3) RDS PHYSICAL FUNCTIONS DELRDSINSREC(3)

delrdsinsrec - deletes a rectangle of an instance

See the file buster/alliance/alc_origin.1.en.gz.

#include"rdsnnn.h"

int delrdsinsrec( Instance, Rectangle )
rdsins_list ∗Instance;
rdsrec_list ∗Rectangle;

Instance which contains the rectangle to delete.
The rectangle to delete.

The delrdsinsrec function deletes a rectangle of an RDS instance.

1 => The rectangle has been deleted.
0 => The rectangle doesn't exist.

None


#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;
int Result;
mbkenv();
rdsenv();
loadrdsparam();
Figure = addrdsfig ("core",sizeof ( UserStruct ) );
Instance = addrdsins (Figure,"na2_y","and2",RDS_NOSYM,8,6);
Rectangle =
addrdsinsrec(Instance,"Alu1",RDS_ALU1,2,4,12,1);
/∗
destruction of the rectangle of the instance
∗/
Result = delrdsinsrec ( Instance,Rectangle );
if ( Result == 0 ) printf("Rectangle not found !\n");
}

librds, allocrdsinsrec

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6