Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (R)
Guardian Procedure Calls Reference Manual522629-013
13-2
RAISE_ Procedure
RAISE_ Procedure
RAISE_ is the pTAL procedure name for the C raise() function. The C raise()
function complies with the POSIX.1 standard.
See the $SYSTEM.SYSTEM.HSIGNAL header file for the pTAL prototype definitions.
For a discussion of each parameter and other procedure considerations, see the
raise(3) function reference page either online or in the Open System Services
System Calls Reference Manual.
Considerations
When RAISE_ is used to stop a process, the operating system supplies a completion
code in the system message and, for OSS processes, in the OSS process termination
status as follows:
If the signal is handled by SIG_DFL, a completion code of 9 is returned and the
signal number is returned in the termination information.
If the signal is handled by the default CRE signal handler, a completion code of 3 is
returned with 0 in the termination information.
Refer to Appendix C, Completion Codes
for a list of completion codes.
Note. This procedure can be called only from native processes.