summaryrefslogtreecommitdiffstats
path: root/Doc/Zsh/mod_system.yo
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-04-25 10:50:16 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2015-04-25 10:50:16 -0700
commit89c2129905d067b2d52c70f5b453561bb782da89 (patch)
treebcb21e52597ab897dc83c12652d6365aa2f7c36d /Doc/Zsh/mod_system.yo
parent34961: replace a couple of free() with zfree() for consistency (diff)
downloadzsh-89c2129905d067b2d52c70f5b453561bb782da89.tar
zsh-89c2129905d067b2d52c70f5b453561bb782da89.tar.gz
zsh-89c2129905d067b2d52c70f5b453561bb782da89.tar.bz2
zsh-89c2129905d067b2d52c70f5b453561bb782da89.tar.lz
zsh-89c2129905d067b2d52c70f5b453561bb782da89.tar.xz
zsh-89c2129905d067b2d52c70f5b453561bb782da89.tar.zst
zsh-89c2129905d067b2d52c70f5b453561bb782da89.zip
34961: sysparams[pid] and sysparams[ppid] added to variables index
Diffstat (limited to 'Doc/Zsh/mod_system.yo')
-rw-r--r--Doc/Zsh/mod_system.yo2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/Zsh/mod_system.yo b/Doc/Zsh/mod_system.yo
index d6b3765ff..7101e37dc 100644
--- a/Doc/Zsh/mod_system.yo
+++ b/Doc/Zsh/mod_system.yo
@@ -181,10 +181,12 @@ A readonly associative array. The keys are:
startitem()
item(tt(pid))(
+vindex(pid, sysparams)
Returns the process ID of the current process, even in subshells. Compare
tt($$), which returns the process ID of the main shell process.
)
item(tt(ppid))(
+vindex(ppid, sysparams)
Returns the process ID of the parent of the current process, even in
subshells. Compare tt($PPID), which returns the process ID of the parent
of the main shell process.