delphfig (3)
NAME
delphfig - delete and free a physical figure
SYNOPSYS
#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).