MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / is_init

Method is_init

src/pid.rs:100–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98 /// Test whether this pid represents the init process ([`Pid::INIT`]).
99 #[inline]
100 pub const fn is_init(self) -> bool {
101 self.0.get() == Self::INIT.0.get()
102 }
103}
104
105impl fmt::Display for Pid {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected