[][src]Function sysinfo::get_current_pid

pub fn get_current_pid() -> Result<Pid, &'static str>

Returns the pid for the current process.

Err is returned in case the platform isn't supported.