Lines Matching defs:tfd
348 int tfd = -1;
369 tfd = open(tf, TF_OPEN_FLAGS, QueueFileMode); \
388 if (tfd < 0 ||
390 !lockfile(tfd, tf, NULL, LOCK_EX|LOCK_NB) ||
393 (void *) &tfd, SM_IO_WRONLY,
401 tf, (long) geteuid(), tfd, tfp);
414 if (tfd < 0)
417 if (tfd < 0)
432 if (tfd >= 0)
438 if (lockfile(tfd, tf, NULL, LOCK_EX|LOCK_NB))
448 (void) close(tfd);
449 tfd = -1;
461 if (tfd < 0 || (tfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT,
462 (void *) &tfd, SM_IO_WRONLY_B,
931 if (tfd >= 0 && fsync(tfd) < 0)