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.
pub fn linux_getpid() -> i32 ⓘ
unsafe_syscall
and linux
only.Returns the current process number.
This function makes use of the linux_sys_getpid
syscall.