ruby_executable_node

Function ruby_executable_node 

Source
pub unsafe extern "C" fn ruby_executable_node(
    n: *mut c_void,
    status: *mut c_int,
) -> c_int
Expand description

Checks the return value of ruby_options().

ruby_options() sometimes returns a special value to indicate this process should immediately exit. This function checks if the case. Also stores the exit status that the caller have to pass to exit(3) into *status.

ยง@param[in] n A return value of ruby_options(). @param[out] status Pointer to the exit status of this process. @retval 0 The given value is such a special value. @retval otherwise The given opaque pointer is actually a compiled source.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3