Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ sys_getpid
Function
sys_getpid
user/src/syscall.rs:95–97 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
93
}
94
95
pub fn sys_getpid() -> isize {
96
syscall(SYSCALL_GETPID, [0, 0, 0])
97
}
98
99
pub fn sys_fork() -> isize {
100
syscall(SYSCALL_FORK, [0, 0, 0])
Callers
1
getpid
Function · 0.70
Calls
1
syscall
Function · 0.70
Tested by
no test coverage detected