# IPXFWTERMSIG (L*X, M*X)

POSIX Function: Returns the number of the signal that caused a child process to terminate.

## Module

USE IFPOSIX

result = IPXFWTERMSIG (istat)

istat | (Input) INTEGER(4). The value of output argument istat from PXFWAIT or PXFWAITPID.

## Results

The result type is INTEGER(4). The result is the number of the signal that caused the child process to terminate.

The IPXFWTERMSIG function should only be used if PXFWIFSIGNALED returns TRUE.

Parent topic: POSIX* Library Routines

## See Also

PXFWAIT
PXFWAITPID
PXFWIFSIGNALED