FREERDSFIG(3) | RDS PHYSICAL FUNCTIONS | FREERDSFIG(3) |
freerdsfig - frees memory associated to a figure
See the file buster/alliance/alc_origin.1.en.gz.
#include "rdsnnn.h" void freerdsfig( Figure )
rdsfig_list ∗Figure;
This function free the memory associated to the figure. Memory place used by the Pointers of the rdsfig_list structure is not free so the user has to free these pointers before calling the freerdsfig function.
nothing
none
#include "mutnnn.h" #include "rdsnnn.h" #include "rtlnnn.h" main() { rdsfig_list ∗Figure;
mbkenv();
rdsenv();
loadrdsparam(); Figure = allocrdsfig (); Figure->NAME = rdsalloc(strlen("core")+1,RDS_ALLOC_BLOCK); strcpy(Figure->NAME,"core"); ... rdsfree (Figure->NAME,RDS_ALLOC_BLOCK); /∗ ∗/ freerdsfig ( Figure,RDS_ALLOC_BLOCK); }
librds, allocrdsfig
See the file buster/alliance/alc_bug_report.1.en.gz.
October 1, 1997 | ASIM/LIP6 |