devela::sys::os::linux::thread

Function linux_getpid

Source
pub fn linux_getpid() -> i32 
Available on crate features unsafe_syscall and linux only.
Expand description

Returns the current process number.

This function makes use of the linux_sys_getpid syscall.