From 4ecc04ec8b8e3c9047ae5ff7004131ed90a4cf8c Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 2 Oct 2005 19:04:35 +0000 Subject: Fix docs for TRAPNAL function return --- Doc/Zsh/func.yo | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Doc/Zsh/func.yo') 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 -- cgit 1.4.1