David Crayford wrote:
It's always best to get storage on the stack and avoid the heap if you
can. z/OS C/C++ supports the GCC extensions that allow you to align
storage using
variable attributes.
char buffer[1408] __attribute__((__aligned__(16))) ; // only works in
64-bit
Unless the stack is above-the-bar and you need below-the-bar memory...
I mention
this because the OP wrote that he is using __malloc31().
I don't think LE allows the stack to be above-the-bar, but in a 64-bit
Dignus program
it can certainly be there (and, by default, is...)
- Dave R. -
--
riv...@dignus.com Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN