Guardian Procedure Calls Reference Manual

PROCESSHANDLE_GETMINE_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameter
Returned Value
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_.
For general information about process handles, see Appendix D: File Names and Process Identifiers.
Syntax for C Programmers
#include <cextdecs(PROCESSHANDLE_GETMINE_)>
short PROCESSHANDLE_GETMINE_ ( short *processhandle );
Syntax for TAL Programmers
error := PROCESSHANDLE_GETMINE_ ( processhandle ); ! o
Parameter
processhandle
output
INT .EXT:ref:10
returns the caller's process handle.
Returned Value
INT
Outcome of the call:
Information returned successfully.0
Parameter address out of bounds.3
Related Programming Manual
For programming information about the PROCESSHANDLE_GETMINE_ procedure, see the Guardian
Programmer's Guide.
PROCESSHANDLE_GETMINE_ Procedure 1139