rustix::process

Function getpid

Source
pub fn getpid() -> Pid
Available on crate feature process only.
Expand description

getpid()—Returns the process’ ID.

§References