DOKK / manpages / debian 10 / alliance / allocrdsins.3.en
ALLOCRDSINS(3) RDS PHYSICAL FUNCTIONS ALLOCRDSINS(3)


allocrdsins - allocates memory for an instance

See the file buster/alliance/alc_origin.1.en.gz.

#include"rdsnnn.h"
rdsins_list ∗allocrdsins()

none

Allocates a memory block for rdsins_list structure. Fields contained in the structure are set to NULL for the pointers and 0L for numbers.

NOTE: Allocation by block ( see rdsalloc() function ).

The pointer to the allocated instance.

"Rds202: rdsalloc error, can't continue !"

it's impossible to allocate the memory size desired.


#include "mutnnn.h" #include "rdsnnn.h" #include "rtlnnn.h" main() { rdsins_list ∗RdsInstance;
mbkenv();
rdsenv();
loadrdsparam(); RdsInstance = allocrdsins (); RdsInstance->FIGNAME = namealloc ("na2_y"); RdsInstance->INSNAME = namealloc ("and2"); ... }

librds, freerdsins, rdsalloc, rdsfree

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6