docs

你正在阅读 v0.1.0 的文档。Nabi 0.1.0 已不再提供支持。 最新版本: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, ..).