MA_INQUIRE_HEAPNAMEMA_inquire_heap - find out how much free space is available in the heap regionC SYNOPSIS#include "macdecls.h" Integer MA_inquire_heap(datatype) Integer datatype; /* read-only */FORTRAN SYNOPSIS#include "mafdecls.h" integer function MA_inquire_heap(datatype) integer datatypeDESCRIPTIONMA_inquire_heap() returns the maximum number of elements of typedatatypethat can currently be allocated in the heap, in a single allocation request, with respect to the partition defined at initialization.DIAGNOSTICSMA not yet initialized MA_init() must be called before this routine is called. invalid datatype: %ddatatypemust be one of those listed in macdecls.h or mafdecls.h.RETURN VALUEC: The number of elements, as described above. FORTRAN: The number of elements, as described above.SEE ALSOMA(3), MA_inquire_avail(3), MA_inquire_stack(3)AUTHORGregory S. Thomas, Pacific Northwest Laboratory