Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-217
PROCESSHANDLE_GETMINE_ Procedure
PROCESSHANDLE_GETMINE_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Related Programming Manual
Summary
The PROCESSHANDLE_GETMINE_ procedure obtains the caller’s process handle.
For a caller that needs to obtain only its own process handle, a call to
PROCESSHANDLE_GETMINE_ is more efficient than a call to
PROCESS_GETINFO_.
Refer to Appendix D, File Names and Process Identifiers
for general information about
process handles.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
error returned value
INT
indicates the outcome of the operation. It returns one of the following values:
0 Information returned successfully
3 Parameter address out of bounds
processhandle output
INT .EXT:ref:10
returns the caller’s process handle.
Related Programming Manual
For programming information about the PROCESSHANDLE_GETMINE_ procedure,
see the
Guardian Programmers Guide.
#include <cextdecs(PROCESSHANDLE_GETMINE_)>
short PROCESSHANDLE_GETMINE_ ( short *processhandle );
error := PROCESSHANDLE_GETMINE_ ( processhandle ); ! o