Lines Matching defs:pid
59 pid_t pid, tpid;
105 if ((pid = fork()) < 0) {
109 if (pid)
146 while ((pid = fork()) < 0) {
153 if ((nerr > 1) && pid) {
157 if (pid) {
162 else if (pid != tpid)
163 syslog(LOG_ERR, "Wait error, expect pid: %d"
164 " got %d, status: %x\n", pid, tpid, status);
166 syslog(LOG_ERR, "Wait pid: %d status: %x\n",
167 pid, status);
180 syslog(LOG_DEBUG, "Wait: pid: %d\n", pid);