Searched refs:flock (Results 1 - 4 of 4) sorted by relevance
/sendmail/libsmutil/ |
H A D | lockfile.c | 20 ** LOCKFILE -- lock a file using flock or (shudder) fcntl locking 45 struct flock lfd; 76 if (flock(fd, type) >= 0)
|
/sendmail/libsmdb/ |
H A D | smdb.c | 66 ** SMDB_LOCKFILE -- lock a file using flock or (shudder) fcntl locking 88 struct flock lfd; 136 while ((i = flock(fd, type)) < 0 && errno == EINTR) 148 syslog(LOG_ERR, "cannot flock(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
|
/sendmail/mail.local/ |
H A D | mail.local.c | 103 ** If you don't have flock, you could try using lockf instead. 107 # define flock(a, b) lockf(a, b, 0) macro 1100 ** open(2) should support flock'ing the file. 1268 if (flock(mbfd, LOCK_EX) < 0) 1381 || flock(mbfd, LOCK_EX) < 0 ||
|
/sendmail/sendmail/ |
H A D | conf.c | 3519 ** LOCKFILE -- lock a file using flock or (shudder) fcntl locking 3546 struct flock lfd; 3615 while ((i = flock(fd, type)) < 0 && errno == EINTR) 3634 syserr("cannot flock(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
|
Completed in 23 milliseconds