Lines Matching refs:getpid
16 // tested api in this file: getpid getppid getpgrp setpgrp getpgid setpgid
35 * @tc.name getpid and getppid test
40 pid_t parentPid = getpid();
73 LOG("parent process id:%d", getpid());
77 LOG("sub parent process id:%d", getpid());
85 LOG("orphane process id:%d", getpid());
126 pid_t parentPid = getpid();
155 pid_t parentPid = getpid();
174 pid_t childPid = getpid();
197 pid_t parentPid = getpid();
278 pid_t pid = getpid();