Lines Matching full:pfd
68 int pfd[2]; member
157 close(ca->pfd[0]); in child_func_process()
161 ret = write(ca->pfd[1], &ca->thr_tids, sizeof(int) * ca->num_threads); in child_func_process()
163 printf("write failed on pfd[%d] - error (%s)\n", in child_func_process()
164 ca->pfd[1], strerror(errno)); in child_func_process()
166 close(ca->pfd[1]); in child_func_process()
183 if (pipe(proc[i].pfd) == -1) in create_processes()
189 close(proc[i].pfd[1]); in create_processes()
193 ret = read(proc[i].pfd[0], &proc[i].thr_tids, sizeof(int) * proc[i].num_threads); in create_processes()
195 printf("read failed on proc[%d].pfd[0] error (%s)\n", in create_processes()
197 close(proc[i].pfd[0]); in create_processes()