#include <qp0ztrml.h> int Qp0zGetTerminalPid( Qp0z_Terminal_T handle, pid_t *pid );Service Program Name: QP0ZTRML
The Qp0zGetTerminalPid() function returns the process ID of
the interpreter process for the terminal specified by handle.
None.
If Qp0zGetTerminalPid() is not successful, the return value usually indicates one of the following errors. Under some conditions, the return value could indicate an error other than those listed here.
The address used for an argument is not correct.
In attempting to use an argument in a call, the system detected an address that is not valid.
While attempting to access a parameter passed to this function, the system detected an address that is not valid.
A function was passed incorrect argument values, or an operation was attempted on an object and the operation specified is not supported for that type of object.
An argument value is not valid, out of range, or NULL.
Unknown system state.
The operation failed because of an unknown system state. See any messages in the job log and correct any errors that are indicated, then retry the operation.
Top | Generic Terminal APIs | APIs by category |