Function sysinfo::get_current_pid[][src]

pub fn get_current_pid() -> Pid

Returns the pid for the current process.