Function ruby_default_signal

Source
pub unsafe extern "C" fn ruby_default_signal(sig: c_int)
Expand description

Pretends as if there was no custom signal handler. This function sets the signal action to SIG_DFL, then kills itself.

@param[in] sig The signal. @post Previous signal handler is lost. @post Passed signal is sent to the current process.

@internal

§@shyouhei doesn’t understand the needs of this function being visible from extension libraries.

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