docs

您正在閱讀 v0.1.2 的文件。Nabi 0.1.2 已停止支援。 最新版本:v0.1.3 →

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