HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/zsh/help/return
return [ n ]
       Causes a shell function or `.' script to return to the  invoking
       script with the return status specified by an arithmetic expres-
       sion n. If n is omitted, the return status is that of  the  last
       command executed.

       If  return  was  executed from a trap in a TRAPNAL function, the
       effect is different for zero and non-zero return  status.   With
       zero  status  (or  after  an  implicit  return at the end of the
       trap), the shell will return to whatever it was previously  pro-
       cessing; with a non-zero status, the shell will behave as inter-
       rupted except that the return status of the  trap  is  retained.
       Note  that the numeric value of the signal which caused the trap
       is passed as  the  first  argument,  so  the  statement  `return
       $((128+$1))'  will  return  the same status as if the signal had
       not been trapped.