Skip to main content
Previous sectionNext section

$ZPARENT

Contains the ID of the parent process of the current process.

Synopsis

$ZPARENT
$ZP

Description

$ZPARENT contains the ID of the parent process that created the current process with the JOB command. If the current process was not created with the JOB command, $ZPARENT contains 0 (zero).

This special variable cannot be modified using the SET command. Attempting to do so results in a <SYNTAX> error.

See Also