Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-197
PROCESS_STOP_ Procedure
Syntax for TAL Programmers
Parameters
error returned value
INT
unless the caller successfully stops itself, returns a file-system error number that
indicates the outcome of the operation. See “Considerations” for information about
interpreting the error numbers that are returned.
processhandle input
INT .EXT:ref:10
specifies the process handle of the process to be stopped. If this parameter is
omitted or null (-1 in each word), the caller is stopped.
specifier input
INT:value
for a named process pair, indicates whether both members should be stopped.
Valid values are:
0 Stop the specified process only.
1 Stop both members of current instance of named process pair if the specified
process is part of a named process pair; otherwise stop the specified process.
2 Stop the callers opposite member, but not the caller, if it is part of a named
process pair.
processhandle is ignored.
The default is 0.
If
processhandle is null or omitted, a specifier value of 0 constitutes a
request to stop the caller and a value of 1 constitutes a request to stop the caller’s
process pair (if the caller is a member of a process pair).
error := PROCESS_STOP_ [ ( [ processhandle ] ! i
,[ specifier ] ! i
,[ options ] ! i
,[ completion-code ] ! i
,[ termination-info ] ! i
,[ spi-ssid ] ! i
,[ text:length ] ) ]; ! i:i