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

/sendmail/contrib/
H A Dmovemail.pl50 use vars qw(@queues $subqbase @ages $remqueue $lockfile);
65 if ($lockfile) {
66 open LOCK, ">>$lockfile"
103 if ($lockfile) {
104 unlink $lockfile;
H A Dmovemail.conf35 $lockfile = "/var/spool/mqueue/movemail.lock";
/sendmail/libsmutil/
H A Dlockfile.c16 SM_RCSID("@(#)$Id: lockfile.c,v 8.22 2013-11-22 20:51:50 ca Exp $")
37 lockfile(fd, filename, ext, type) function
H A Dsafefile.c970 if (!lockfile(fd, filename, NULL, locktype))
/sendmail/sendmail/
H A Dmci.c777 if (!lockfile(sm_io_getinfo(mci->mci_statfile, SM_IO_WHAT_FD, NULL),
907 locked = lockfile(sm_io_getinfo(fp, SM_IO_WHAT_FD, NULL), fname, "",
912 (void) lockfile(sm_io_getinfo(fp, SM_IO_WHAT_FD, NULL), fname,
1358 locked = !lockfile(sm_io_getinfo(fp, SM_IO_WHAT_FD, NULL), pathname,
H A Dalias.c551 !lockfile(sm_io_getinfo(af, SM_IO_WHAT_FD, NULL), map->map_file,
560 (void) lockfile(sm_io_getinfo(af, SM_IO_WHAT_FD, NULL),
H A Dmap.c1623 (void) lockfile(dfd, map->map_file, ".dir", LOCK_UN);
1625 (void) lockfile(pfd, map->map_file, ".pag", LOCK_UN);
1695 (void) lockfile(dfd, map->map_file, ".dir", LOCK_SH);
1705 (void) lockfile(dfd, map->map_file, ".dir", LOCK_UN);
1749 (void) lockfile(dfd, map->map_file, ".dir", LOCK_UN);
2116 if (!lockfile(fd, buf, NULL, mode == O_RDONLY ? LOCK_SH : LOCK_EX))
2241 (void) lockfile(fd, buf, NULL, LOCK_UN);
2346 (void) lockfile(fd, buf, ".db", LOCK_SH);
2354 (void) lockfile(fd, buf, ".db", LOCK_UN);
2439 (void) lockfile(f
[all...]
H A Dqueue.c397 !lockfile(tfd, tf, NULL, LOCK_EX|LOCK_NB) ||
445 if (lockfile(tfd, tf, NULL, LOCK_EX|LOCK_NB))
2718 w->w_lock = !lockfile(sm_io_getinfo(cf, SM_IO_WHAT_FD,
3976 if (!lockfile(sm_io_getinfo(qfp, SM_IO_WHAT_FD, NULL), qf, NULL,
4000 ** Process A: lockfile(qf);
4008 ** was still locked (i.e., just return like the lockfile() case
8561 if (!lockfile(fd, tempqf, NULL, LOCK_EX|LOCK_NB))
H A Dsendmail.h2670 extern bool lockfile __P((int, char *, char *, int));
H A Dconf.c3536 lockfile(fd, filename, ext, type) function
3565 sm_dprintf("lockfile(%s%s, action=%d, type=%d): ",
3613 sm_dprintf("lockfile(%s%s, type=%o): ", filename, ext, type);

Completed in 543 milliseconds