Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ as_raw_nonzero
Method
as_raw_nonzero
src/pid.rs:77–79 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
75
/// Converts a `Pid` into a `NonZeroI32`.
76
#[inline]
77
pub const fn as_raw_nonzero(self) -> NonZeroI32 {
78
self.0
79
}
80
81
/// Converts a `Pid` into a `RawPid`.
82
///
Callers
15
tcsetpgrp
Function · 0.45
waitpgid
Function · 0.45
kill_process
Function · 0.45
kill_process_group
Function · 0.45
test_kill_process
Function · 0.45
test_kill_process_group
Function · 0.45
pidfd_open
Function · 0.45
from
Method · 0.45
negative_pid
Function · 0.45
tcsetpgrp
Function · 0.45
waitpgid
Function · 0.45
core_scheduling_cookie
Function · 0.45
Calls
no outgoing calls
Tested by
2
test_kill_process
Function · 0.36
test_kill_process_group
Function · 0.36