#include <qp2user.h> void* Qp2malloc(QP2_dword_t size, QP2_ptr64_t *mem_pase);
Qp2malloc() allocates memory from the IBM® i PASE heap by calling the IBM PASE for i malloc() function.
None.
The function result is a pointer to the IBM PASE for i heap memory allocation, or a null pointer if no memory was allocated. A buffer addressed by the mem_pase argument is unchanged if no memory was allocated.