Skip to main content

execarith

Function execarith 

Source
pub fn execarith(state: &mut estate, _do_exec: i32) -> i32
Expand description

Port of execarith(Estate state, UNUSED(int do_exec)) from Src/exec.c:5237-5275. Run a (( ... )) arithmetic command; returns 0 when val != 0 (success), 1 when val == 0 (false), 2 on parse error.