Intel® Fortran Compiler 16.0 User and Reference Guide

PXFKILL

POSIX Subroutine: Sends a signal to a specified process.

Module

USE IFPOSIX

CALL PXFKILL (ipid,isig,ierror)

ipid

(Input) INTEGER(4). The process to kill. It is determined by one of the following values:

> 0

Kills the specific process.

< 0

Kills all processes in the group.

== 0

Kills all processes in the group except special processes.

== pid_t-1

Kills all processes.

isig

(Input) INTEGER(4). The value of the signal to be sent.

ierror

(Output) INTEGER(4). The error status.

If successful, ierror is set to zero; otherwise, an error code.

The PXFKILL subroutine sends a signal with value isig to a specified process. On Windows* systems, only the ipid for the current process can be used.