get_pid
os
0.1.0
get_pid
Sections
返回值:
In os::
kernel::
syscall::
task
os
::
kernel
::
syscall
::
task
Function
get_pid
Copy item path
Source
pub fn get_pid() -> c_int
Expand description
获取当前任务的进程 ID
§
返回值:
进程 ID