Lines Matching defs:pid
674 snprintf(pidfile, sizeof pidfile, "%stun%d.pid", _PATH_VARRUN, bundle->unit);
692 snprintf(pidfile, sizeof pidfile, "%stun%d.pid", _PATH_VARRUN, bundle->unit);
1387 pid_t pid;
1483 pid = getpid();
1484 if ((got = write(fd[1], &pid, sizeof pid)) != sizeof pid) {
1489 (int)(sizeof pid));
1629 log_Printf(LogDEBUG, "Received confirmation from pid %ld\n",
1719 * Lose the current session. This means getting rid of our pid
1723 pid_t pid, orig;
1743 switch ((pid = fork())) {
1757 switch ((pid = fork())) {
1765 bundle_LockTun(bundle); /* update pid */
1780 physical_ChangedPid(dl->physical, pid);
1792 physical_ChangedPid(dl->physical, pid);
1811 waitpid(pid, &status, 0);