riot_sys

Function os_error_to_sys

Source
pub unsafe extern "C" fn os_error_to_sys(
    os_error: os_error_t,
) -> c_int
Expand description

@brief Converts an OS error code (OS_[...]) to an equivalent system error code (SYS_E[...]).

@param os_error The OS error code to convert.

@return The equivalent system error code.