dellofig.3alc man page

dellofig — delete and free a logical figure

Synopsis

#include "mlo.h"
int dellofig(figname)
char ∗figname;

Parameter

figname

Name of the figure to be deleted

Description

dellofig deletes the figure called figname from the list of logical figure in memory. All the lists of elements belonging to the figure are also deleted and freed.

Return Value

dellofig returns 1 if the figure was delete, and 0 if no figure called figname was present in memory.

Example

#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);		
}

See Also

mbk(1), lofig(3), addlofig(3), getlofig(3), loadlofig(3), savelofig(3), flattenlofig(3), rflattenlofig(3).

Referenced By

addlofig.3alc(3), flattenlofig.3alc(3), getlofig.3alc(3), loadlofig.3alc(3), lofig.3alc(3), rflattenlofig.3alc(3), savelofig.3alc(3).

October 1, 1997 ASIM/LIP6 MBK PHYSICAL FUNCTIONS