std::os::windows::process
API 参考只有英文版,由标准库源代码中的英文文档注释生成。
Windows-only parts of process.
Functions
on_ctrl_breakSource
pub fn on_ctrl_break(handler: fn() + Send + Sync) throws (IoError) Call handler (on the nabi-signal thread) each time the console
sends Ctrl-Break; a later call replaces it. Ctrl-C and console close
are process::on_signal(Signal::Interrupt / Signal::Hangup, ..).