Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual—522629-013
14-115
SETSTOP Procedure
SETSTOP Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
OSS Considerations
Example
Related Programming Manual
Summary
The SETSTOP procedure permits a process to protect itself from being deleted by any
process other than itself or its creator.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
last-stop-mode returned value
INT
returns a value that is either the preceding value of
stop-mode or -1 if an illegal
mode was specified.
stop-mode input
INT:value
is a value specifying a new stop mode. The modes are:
0 Stoppable by any process. This mode is never set by any system software; it
must be set by the user with this procedure specifically for an application. This
mode cannot be set by an OSS process.
1 stoppable only by (normal system default value)
•
The super ID
#include <cextdecs(SETSTOP)>
short SETSTOP ( short stop-mode );
last-stop-mode := SETSTOP ( stop-mode ); ! i