9.153 KILL
— Send a signal to a process
- Description:
- Standard:
- Sends the signal specified by SIGNAL 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(C, VALUE [, STATUS])
STATUS = KILL(C, VALUE)
- Arguments:
-
C Shall be a scalar INTEGER
, withINTENT(IN)
VALUE Shall be a scalar INTEGER
, withINTENT(IN)
STATUS (Optional) status flag of type INTEGER(4)
orINTEGER(8)
. Returns 0 on success, or a system-specific error code otherwise. - See also:
- ABORT, EXIT
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gfortran/KILL.html