diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Doc/Zsh/mod_system.yo | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index a76808be2..9dd9bcc2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. |