int osenv_intr_save_disable(void);
ComponentOS, Nonblocking
Set the interrupt status to disabled and return the previous status.This call is equivalent to calling osenv_intr_enabled and then calling osenv_intr_disable if the result was non-zero and is intended to optimize that common case.
Returns non-zero if interrupts are currently enabled, zero otherwise.