Lines Matching defs:pid
28 pid_t pid = fork();29 if (pid < 0) {30 t_error("%s failed: pid = %d\n", __func__, pid);31 } else if (pid == 0) {37 pid = getpid();38 if (pid < 0) {39 t_error("%s failed: pid = %d\n", __func__, pid);42 pid_t sid = getsid(pid);