delphfig.3alc man page

delphfig — delete and free a physical figure

Synopsis

#include "mph.h"
int delphfig(figname)
char ∗figname;

Parameter

figname

Name of the figure to be deleted

Description

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

Return Value

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

Example

#include "mph.h"
void delete_na2_y()
{
	if (delphfig("na2_y"))
		(void)fputs("deleted na2_y successfully", stdout);
	else
		(void)fputs("na2_y not present in ram !", stdout);		
}

See Also

mbk(1), phfig(3), addphfig(3), getphfig(3), loadphfig(3), savephfig(3), flattenphfig(3), rflattenphfig(3).

Referenced By

addphfig.3alc(3), flattenphfig.3alc(3), getphfig.3alc(3), loadphfig.3alc(3), phfig.3alc(3), rflattenphfig.3alc(3), savephfig.3alc(3).

October 1, 1997 ASIM/LIP6 MBK PHYSICAL FUNCTIONS