.\" $Id: dellofig.3,v 1.1 2002/03/08 13:51:01 fred Exp $ .\" @(#)dellofig.2 2.11 91/08/22 ; Labo masi cao-vlsi; Author : Frederic Petrot .if t \{\ .XS \n% .ti 0.2i dellofig .XE .XS2 \n% .ti 0.2i dellofig .XE2 \} .TH DELLOFIG 3 "October 1, 1997" "ASIM/LIP6" "MBK PHYSICAL FUNCTIONS" .SH NAME dellofig \- delete and free a logical figure .so buster/alliance/alc_origin.1.en.gz .SH SYNOPSYS .nf .if n \{\ .ft B \} .if t \{\ .ft CR \} #include "mlo.h" int dellofig(figname) char \(**figname; .ft R .fi .SH PARAMETER .TP 20 \fIfigname\fP Name of the figure to be deleted .SH DESCRIPTION \fBdellofig\fP deletes the figure called \fIfigname\fP from the list of logical figure in memory. All the lists of elements belonging to the figure are also deleted and freed. .SH RETURN VALUE \fBdellofig\fP returns \fB1\fP if the figure was delete, and \fB0\fP if no figure called \fIfigname\fP was present in memory. .SH EXAMPLE .ta 3n 6n 9n 12n 15n 18n 21n .nf .if n \{\ .ft B \} .if t \{\ .ft CR \} #include "mlo.h" void delete_na2_y() { if (dellofig("na2_y")) (void)fputs("deleted na2_y successfully", stdout); else (void)fputs("na2_y not present in ram !", stdout); } .ft R .fi .SH SEE ALSO .BR mbk (1), .BR lofig (3), .BR addlofig (3), .BR getlofig (3), .BR loadlofig (3), .BR savelofig (3), .BR flattenlofig (3), .BR rflattenlofig (3). .so buster/alliance/alc_bug_report.1.en.gz