1ALLOCRDSFIG(3)              RDS PHYSICAL FUNCTIONS              ALLOCRDSFIG(3)
2
3
4

NAME

6        allocrdsfig - allocs memory for a figure
7

SYNOPSIS

9       #include "rdsnnn.h"
10       rdsfig_list ∗allocrdsfig()
11

PARAMETER

13       none
14

DESCRIPTION

16       The  allocrdsfig  function  allocates  a  memory  block for rdsfig_list
17       structure. Fields contained in the structure are set to NULL for point‐
18       ers or 0L for numbers.
19
20       NOTE: Allocation by block ( see rdsalloc() function ).
21

RETURN VALUE

23       allocrdsfig returns a pointer to the rdsfig_list structure allocated.
24

ERRORS

26       "Rds202: rdsalloc error, can't continue !"
27              it's impossible to allocate the memory size desired.
28

EXAMPLE

30                #include "mutnnn.h"
31                #include "rdsnnn.h"
32                #include "rtlnnn.h"
33              main()
34               {
35                 rdsfig_list ∗RdsFigure;
36                      mbkenv();
37                      rdsenv();
38                      loadrdsparam();
39                 RdsFigure = allocrdsfig ();
40                 RdsFigure->NAME = namealloc ("core");
41                 ...
42               }
43

SEE ALSO

45       librds, rdsalloc, rdsfree, freerdsfig
46
47
48
49
50
51
52ASIM/LIP6                       October 1, 1997                 ALLOCRDSFIG(3)
Impressum