Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-61
PROCESS_GETINFO_ Procedure
Syntax for C Programmers  
Some character-string parameters to PROCESS_GETINFO_ are followed by a 
parameter 
maxlen that specifies the maximum length in bytes of the character string 
and an additional parameter that returns the actual length of the string. Where these 
parameters are optional, the character-string parameter and the two parameters that 
follow it must either all be supplied or all be absent. 
Note. In the TNS/E environment, the CEXTDECS file uses the int data type for 32-bit values. 
This is a change from the TNS and TNS/R environments where CEXTDECS uses the long 
data type for 32-bit values. 
#include < cextdecs(PROCESS_GETINFO_)>
      /*input error*/
      /*output detail*/
short PROCESS_GETINFO_ ( [ short *processhandle ] /*i,o 1 */
    , [ char *proc-fname ]  /* o  2 */
   , [ short maxlen ]  /* o  2 */
    , [ short *proc-fname-len ] /* o  3 */
   , [ short *priority ]  /* i  4 */
    , [ short *mom’s-processhandle ] /*i 5 */
   , [ char *hometerm ]  /* i  6 */
   , [ short maxlen ]  /* i  6 */
    , [ short *hometerm-len ] /* i  7 */
    , [ long long *process-time ]/* i  8 */
    , [ short *creator-access-id ]/*i  9 */
    , [ short *process-access-id ]/*i  10 */
     , [ short *gmom’s-processhandle ]/* i11 */
   , [ short *jobid ]  /* i  12 */
    , [ char *program-file ] /* i  13 */
   , [ short maxlen ]  /* i  13 */
    , [ short *program-len ] /* i  14 */
    , [ char *swap-file ]  /* i  15 */
   , [ short maxlen ]  /* i  15 */
    , [ short *swap-len ]  /* i  16 */
    , [ short *error-detail ] /* i  17 */
    , [ short *proc-type ]  /* i  18 */
 , [ __int32_t *oss-pid ] ); /* i 19*/;










