diff options
| author | Barton E. Schaefer <schaefer@zsh.org> | 2015-04-25 10:50:16 -0700 |
|---|---|---|
| committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-04-25 10:50:16 -0700 |
| commit | 89c2129905d067b2d52c70f5b453561bb782da89 (patch) | |
| tree | bcb21e52597ab897dc83c12652d6365aa2f7c36d | |
| parent | 34961: replace a couple of free() with zfree() for consistency (diff) | |
| download | zsh-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
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | Doc/Zsh/mod_system.yo | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,8 @@ 2015-04-25 Barton E. Schaefer <schaefer@zsh.org> + * 34961: Doc/Zsh/mod_system.yo: sysparams[pid] and sysparams[ppid] + added to variables index + * 34961: Src/compat.c, Src/init.c: replace a couple of free() with zfree() for consistency. 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. |
