9.161 KILL — Send a signal to a process
- Description:
- Standard:
-
Sends the signal specified by SIG to the process PID. See
kill(2)
.This intrinsic is provided in both subroutine and function forms; however, only one form can be used in any given program unit.
- Class:
-
Subroutine, function
- Syntax:
-
CALL KILL(PID, SIG [, STATUS])
STATUS = KILL(PID, SIG)
- Arguments:
-
PID Shall be a scalar INTEGER
withINTENT(IN)
.SIG Shall be a scalar INTEGER
withINTENT(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. - See also:
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-8.4.0/gfortran/KILL.html