table of contents
| ALLOCRDSFIG(3) | RDS PHYSICAL FUNCTIONS | ALLOCRDSFIG(3) |
NAME¶
allocrdsfig - allocs memory for a figureORIGIN¶
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS¶
#include "rdsnnn.h" rdsfig_list ∗allocrdsfig()
PARAMETER¶
noneDESCRIPTION¶
The allocrdsfig function allocates a memory block for rdsfig_list structure. Fields contained in the structure are set to NULL for pointers or 0L for numbers.- NOTE: Allocation by block ( see rdsalloc() function ).
RETURN VALUE¶
allocrdsfig returns a pointer to the rdsfig_list structure allocated.ERRORS¶
"Rds202: rdsalloc error, can't continue !"it's impossible to allocate the memory size
desired.
EXAMPLE¶
#include "mutnnn.h"
#include "rdsnnn.h"
#include "rtlnnn.h"
main()
{
rdsfig_list ∗RdsFigure;
mbkenv();
rdsenv();
loadrdsparam();
RdsFigure = allocrdsfig ();
RdsFigure->NAME = namealloc ("core");
...
}
SEE ALSO¶
librds, rdsalloc, rdsfree, freerdsfigBUG REPORT¶
This tool is under development at the ASIM department of the LIP6 laboratory.We need your feedback to improve documentation and tools.
| October 1, 1997 | ASIM/LIP6 |