Lines Matching refs:pid
31 pid_t pid = fork();
32 if (pid > 0) {
35 pid_t waitpid_for_pind = waitpid(pid, &status, options);
36 if (waitpid_for_pind != pid) {
37 t_error("%s waitpid get pid is %d are not want %d\n", __func__, waitpid_for_pind, pid);
42 } else if (pid == 0) {
57 pid_t pid = fork();
58 if (pid > 0) {
61 pid_t waitpid_for_pind = waitpid(pid, &status, options);
62 if (waitpid_for_pind != pid) {
63 t_error("%s waitpid get pid is %d are not want %d\n", __func__, waitpid_for_pind, pid);
68 } else if (pid == 0) {