pub static TRAP_RETURN: Atomic<i32>Expand description
Port of int trap_return; from Src/exec.c:155. Carries the
pending exit status from inside a trap; sentinel -2 means
“running an EXIT/DEBUG-style trap at the current level”
(signals.c:1166). Promoted to the user’s return N value by
bin_return when POSIX-trap semantics apply (builtin.c:5852).