Skip to main content

install_signal_handlers

Function install_signal_handlers 

Source
pub fn install_signal_handlers() -> Result<(), &'static str>
Expand description

Installs no process-global signal handlers; callers use explicit shutdown tokens.

§Parameters

§Returns

Returns the successful value produced by crate::binaries::install_signal_handlers or an error when the operation fails.

§Errors

Returns an error value when crate::binaries::install_signal_handlers cannot complete successfully.

§Examples

ⓘ
let _result = pharos_native::binaries::install_signal_handlers(todo!());
  • crate::binaries for adjacent helpers that share the same runtime surface.