Lines Matching defs:pid
84 wait_for_process_timed(pid_t pid, time_t (*func)(void *),
101 while(waitpid(pid, &status, 0) < 0) {
112 kill(pid, SIGTERM);
140 wait_for_process(pid_t pid)
142 return wait_for_process_timed(pid, NULL, NULL, 0);
152 pid_t pid;
174 pid = fork();
175 switch(pid) {
245 return pid;
252 pid_t pid = fork();
253 switch(pid){
260 return wait_for_process_timed(pid, func, ptr, timeout);
275 pid_t pid = fork();
276 switch(pid){
283 return wait_for_process_timed(pid, func, ptr, timeout);