Lines Matching refs:pid
100 char *CommandLineArgs; /* command line args for pid file */
122 #define PIDLEN 6 /* pid length for computing SyslogPrefixLen */
2180 pid_t pid = -1;
2196 if (Verbose || foregroundqueue || (pid = fork()) <= 0)
2205 if (pid == 0)
2431 ** Write the pid to file
2432 ** XXX Overwrites sendmail.pid
2494 "persistent queue runner=%d died, pid=%ld, signal=%d",
2525 ** Write the pid to file
2526 ** XXX Overwrites sendmail.pid
2950 pid_t pid;
3002 /* close maps belonging to this pid */
3025 sm_syslog(LOG_DEBUG, CurEnv->e_id, "finis, pid=%d",
3033 pid = getpid();
3035 cleanup_shm(DaemonPid == pid);
3038 /* close locked pid file */
3041 if (DaemonPid == pid || PidFilePid == pid)
3043 /* blow away the pid file */
3387 sm_syslog(LOG_DEBUG, e->e_id, "in background, pid=%d",