Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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.