diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-10-02 19:04:35 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-10-02 19:04:35 +0000 |
commit | 4ecc04ec8b8e3c9047ae5ff7004131ed90a4cf8c (patch) | |
tree | b8bd09e2cd10146e8a048fd74e33db3dcf4baec8 /Doc/Zsh/func.yo | |
parent | f5d7af2912a510edcb0652bd7fe3578290f7f642 (diff) | |
download | zsh-4ecc04ec8b8e3c9047ae5ff7004131ed90a4cf8c.tar.gz zsh-4ecc04ec8b8e3c9047ae5ff7004131ed90a4cf8c.tar.xz zsh-4ecc04ec8b8e3c9047ae5ff7004131ed90a4cf8c.zip |
Fix docs for TRAPNAL function return
Diffstat (limited to 'Doc/Zsh/func.yo')
-rw-r--r-- | Doc/Zsh/func.yo | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/Zsh/func.yo b/Doc/Zsh/func.yo index 2f6445873..f596afef5 100644 --- a/Doc/Zsh/func.yo +++ b/Doc/Zsh/func.yo @@ -196,9 +196,8 @@ the shell and processes spawned by it will ignore tt(SIG)var(NAL). The return status from the function is handled specially. If it is zero, the signal is assumed to have been handled, and execution continues -normally. Otherwise, the normal effect of the signal is produced; -if this causes execution to terminate, the status returned to the shell is -the status returned from the function. +normally. Otherwise, the shell will behave as interrupted except that +the return status of the trap is retained. Programs terminated by uncaught signals typically return the status 128 plus the signal number. Hence the following causes the handler for |