2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
10 KILL --- Send a signal to a process
11 ***********************************
13 .. function:: KILL(PID, SIG)
15 Sends the signal specified by :samp:`{SIG}` to the process :samp:`{PID}`.
19 Shall be a scalar ``INTEGER`` with ``INTENT(IN)``.
22 Shall be a scalar ``INTEGER`` with ``INTENT(IN)``.
25 [Subroutine](Optional)
26 Shall be a scalar ``INTEGER``.
27 Returns 0 on success; otherwise a system-specific error code is returned.
30 [Function] The kind type parameter is that of
32 Returns 0 on success; otherwise a system-specific error code is returned.
44 .. code-block:: fortran
46 CALL KILL(PID, SIG [, STATUS])
47 STATUS = KILL(PID, SIG)