Function rustix::process::getpid

#[must_use]
pub fn getpid() -> Pid
Documentation

getpid()—Returns the process’ ID.

References