get_term_sig


Description:

public int get_term_sig ()

Get the signal number that caused the subprocess to terminate, given that it terminated due to a signal.

This is equivalent to the system WTERMSIG macro.

It is an error to call this function before wait and unless get_if_signaled returned true.

Parameters:

this

a Subprocess

Returns:

the signal causing termination