Qp2ptrsize()--Retrieve i5/OS PASE Pointer Size


  Syntax
 #include <qp2user.h>

 size_t Qp2ptrsize(void);

  Service Program Name: QP2USER

  Default Public Authority: *USE

  Threadsafe: Yes

Qp2ptrsize() returns the pointer size, in bytes, for the i5/OS Portable Application Solutions Environment (i5/OS PASE) program currently running in the job.


Parameters

None.


Authorities

None.


Return Value

The function result is 4 for a 32-bit program, or 8 for a 64-bit program. The result is zero if i5/OS PASE pointer size is not available (such as when no i5/OS PASE program is running in the job).


Related Information




API introduced: V5R2
Top | i5/OS PASE APIs | APIs by category