1
.TH MA_PUSH_STACK 3 "20 February 1997" "MA Release 1.8" "MA LIBRARY ROUTINES"
9
Boolean MA_push_stack(datatype, nelem, name, memhandle)
10
Integer datatype; /* read-only */
11
Integer nelem; /* read-only */
12
char *name; /* read-only */
13
Integer *memhandle; /* write-only */
15
.SH "FORTRAN SYNOPSIS"
17
#include "mafdecls.fh"
19
logical function MA_push_stack(datatype, nelem, name, memhandle)
26
MA_push_stack() allocates a stack block large enough to hold
32
with the block for debugging purposes.
33
A handle for the block is returned in
37
block '%s', MA not yet initialized
39
MA_init() must be called before this routine is called.
41
block '%s', invalid datatype: %d
44
must be one of those listed in macdecls.h or mafdecls.fh.
46
block '%s', invalid nelem: %d
49
must be greater than zero.
51
block '%s', not enough space to allocate %d bytes
53
Recovery may be attempted by deallocating unneeded blocks
54
and resubmitting the request,
55
or the application may be rewritten to request more memory
56
initially in the call to MA_init().
59
C: MA_TRUE upon success, MA_FALSE upon failure.
61
FORTRAN: .true. upon success, .false. upon failure.
65
Include files: /msrc/proj/hpctools/ma/release/current/include
66
Library: /msrc/proj/hpctools/ma/release/current/lib/\fIplatform\fR/libma.a
67
Man pages: /msrc/proj/hpctools/ma/release/current/man/man3
68
Source code: /msrc/proj/hpctools/ma/release/current/tar/ma\fIrelease\fR.tar
82
Gregory S. Thomas, Pacific Northwest National Laboratory