Guardian Programming Reference Summary for C

Functions Summary (O-Q)
Guardian Programming Reference Summary for C522630-001
7-15
return value:
PROCESS_GETINFO_
Obtains a limited set of information about a specified process.
#include <cextdecs(PROCESS_DEBUG_)>
short PROCESS_DEBUG_ ( [ short *processhandle ] /* i */
,[ const char *terminal-name ] /* i */
,[ short length ] /* i */
,[ short now ] ); /* i */
0 = Debug request accepted. If the process to be debugged is not the calling
process, the request might have been queued.
11 = Process does not exist.
48 = Security violation.
201 = Unable to communicate with the processor of the process.
#include <cextdecs(PROCESS_GETINFO_)>
short PROCESS_GETINFO_ ( [ short *processhandle ] /* i,o */
,[ char *proc-fname ] /* o */
,[ short maxlen ] /* i */
,[ short *proc-fname-len ] /* i */
,[ short *priority ] /* o */
,[ short *mom’s-processhandle ] /* o */
,[ char *hometerm ] /* o */
,[ short maxlen ] /* i */
,[ short *hometerm-len ] /* o */
,[ long long *process-time ] /* o */
,[ short *creator-access-id ] /* o */
,[ short *process-access-id ] /* o */
,[ short *gmom’s-processhandle ] /* o */
,[ short *jobid ] /* o */
,[ char *program-file ] /* o */
,[ short maxlen ] /* i */
,[ short *program-len ] /* o */
,[ char *swap-file ] /* o */
,[ short maxlen ] /* i */
,[ short *swap-len ] /* o */
,[ short *error-detail ] /* o */
,[ short *proc-type ] /* o */
,[ long *oss-pid ] ); /* o */