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, ..).