allocrdsins(3)

allocrdsins3

Allocates memory for an instance

Synopsys

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

Parameter

none

Overview

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 ).

Return value

The pointer to the allocated instance.

Errors

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

it's impossible to allocate the memory size desired.

Examples

            #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");
	       ...
	     }

Releases

4 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–8
  2. 9–10

From alliance 5.1.1-3 in Debian 10 (Buster). Parsed by carta from the page's man source.