Searched refs:LockName (Results 1 - 1 of 1) sorted by relevance

/sendmail/mail.local/
H A Dmail.local.c1473 char LockName[MAXPATHLEN]; local
1484 if (strlen(path) + 6 > sizeof LockName)
1486 (void) sm_snprintf(LockName, sizeof LockName, "%s.lock", path);
1501 fd = open(LockName, O_WRONLY|O_EXCL|O_CREAT, LOCKFILE_PMODE);
1510 if (stat(LockName, &st) < 0)
1525 if (unlink(LockName) < 0)
1535 (void) unlink(LockName);

Completed in 47 milliseconds