Home
last modified time | relevance | path

Searched refs:getpid (Results 1 – 5 of 5) sorted by relevance

/DragonOS/user/apps/test_namespace/src/
H A Dmain.rs10 println!("Parent process. PID: {}", unistd::getpid()); in main()
25 println!("Child process. PID: {}", unistd::getpid()); in main()
30 println!("Child process. PID: {}", unistd::getpid()); in main()
/DragonOS/docs/kernel/container/namespaces/
H A Dpid_namespace.md22 - getpid
23 - 在命名空间中调用 getpid() 会返回进程在当前 PID 命名空间中的进程 ID
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.3.md30 - syscall: new: 增加getpid系统调用 (#120)
464 * 增加getpid系统调用
/DragonOS/kernel/src/process/
H A Dsyscall.rs247 pub fn getpid() -> Result<Pid, SystemError> { in getpid() method
/DragonOS/kernel/src/syscall/
H A Dmod.rs418 SYS_GETPID => Self::getpid().map(|pid| pid.into()), in handle()