Searched refs:getpid (Results 1 – 5 of 5) sorted by relevance
10 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()
20 - getpid21 - 在命名空间中调用 getpid() 会返回进程在当前 PID 命名空间中的进程 ID
30 - syscall: new: 增加getpid系统调用 (#120)464 * 增加getpid系统调用
189 pub fn getpid() -> Result<Pid, SystemError> { in getpid() method
403 SYS_GETPID => Self::getpid().map(|pid| pid.into()), in handle()