MCPcopy 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
95pub fn sys_getpid() -> isize {
96 syscall(SYSCALL_GETPID, [0, 0, 0])
97}
98
99pub fn sys_fork() -> isize {
100 syscall(SYSCALL_FORK, [0, 0, 0])

Callers 1

getpidFunction · 0.70

Calls 1

syscallFunction · 0.70

Tested by

no test coverage detected