devela::sys::os::linux::threadFunction linux_sys_getpid
Source pub unsafe fn linux_sys_getpid() -> i32 ⓘ
Available on crate features unsafe_syscall
and linux
only.
Expand description
Performs a getpid
syscall.
Get process identification.
§Info
§Example
use devela::linux_sys_getpid;
let pid: i32 = unsafe { linux_sys_getpid() };
§Safety
TODO