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