HomeSort by: relevance | last modified time | path
    Searched defs:lfd (Results 1 - 4 of 4) sorted by relevancy

  /src/sbin/veriexecctl/
veriexecctl.c 240 int lfd; local in function:main
247 lfd = open(file, O_RDONLY|O_EXLOCK, 0);
248 if (lfd == -1)
251 yyin = fdopen(lfd, "r");
  /src/libexec/mail.local/
mail.local.c 200 int created = 0, mbfd = -1, nr, nw, off, rval = EX_OSERR, lfd = -1; local in function:deliver
223 if((lfd = open(lpath, O_CREAT|O_WRONLY|O_EXCL,
304 if (lfd >= 0) {
306 close(lfd);
  /src/usr.sbin/lpr/lpd/
lpd.c 148 int lfd, errs, i, f, nfds; local in function:main
242 lfd = open(_PATH_MASTERLOCK, O_WRONLY|O_CREAT, 0644);
243 if (lfd < 0) {
247 if (flock(lfd, LOCK_EX|LOCK_NB) < 0) {
256 ftruncate(lfd, 0);
262 if (write(lfd, line, f) != f) {
printjob.c 98 static int lfd; /* lock file descriptor */ variable in typeref:typename:int
185 lfd = open(LO, O_WRONLY|O_CREAT, 0644);
186 if (lfd < 0) {
190 if (flock(lfd, LOCK_EX|LOCK_NB) < 0) {
196 ftruncate(lfd, 0);
201 if (write(lfd, line, i) != i) {
231 if (fchmod(lfd, stb.st_mode & 0777) < 0)
247 (void)lseek(lfd, pidoff, 0);
249 if (write(lfd, line, i) != i)
259 if (fstat(lfd, &stb) == 0)
    [all...]

Completed in 14 milliseconds