KILL — Send a signal to a process#
-
KILL(PID, SIG)#
Sends the signal specified by
SIGto the processPID. Seekill(2).- Parameters:
PID – Shall be a scalar
INTEGERwithINTENT(IN).SIG – Shall be a scalar
INTEGERwithINTENT(IN).STATUS – [Subroutine](Optional) Shall be a scalar
INTEGER. Returns 0 on success; otherwise a system-specific error code is returned.STATUS – [Function] The kind type parameter is that of
pid. Returns 0 on success; otherwise a system-specific error code is returned.
- Standard:
GNU extension
- Standard:
GNU extension
- Class:
Subroutine, function
- Syntax:
CALL KILL(PID, SIG [, STATUS]) STATUS = KILL(PID, SIG)
- See also:
ABORT — Abort the program, EXIT — Exit the program with status.