Lines Matching refs:pid
36 pid_t pid = fork();
37 if (pid > 0) {
41 pid_t wait4_for_pind = wait4(pid, &status, options, &ru);
42 if (wait4_for_pind != pid) {
43 t_error("%s wait4 get pid is %d are not want %d\n", __func__, wait4_for_pind, pid);
48 } else if (pid == 0) {
63 pid_t pid = fork();
64 if (pid > 0) {
68 pid_t wait4_for_pind = wait4(pid, &status, options, &ru);
69 if (wait4_for_pind != pid) {
70 t_error("%s wait4 get pid is %d are not want %d\n", __func__, wait4_for_pind, pid);
75 } else if (pid == 0) {
90 pid_t pid = fork();
91 if (pid > 0) {
95 pid_t wait4_for_pind = __wait4_time64(pid, &status, options, &ru);
96 if (wait4_for_pind != pid) {
97 t_error("%s __wait4_time64 get pid is %d are not want %d\n", __func__, wait4_for_pind, pid);
102 } else if (pid == 0) {