MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / getpid

Function getpid

user/src/task.rs:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 sys_get_time()
11}
12pub fn getpid() -> isize {
13 sys_getpid()
14}
15pub fn fork() -> isize {
16 sys_fork()
17}

Callers 1

panic_handlerFunction · 0.85

Calls 1

sys_getpidFunction · 0.70

Tested by

no test coverage detected