Lines Matching defs:tfd
90 static int tfd; /* control file descriptor */
315 tfd = nfile(tfname);
317 (void) fchown(tfd, pp->daemon_user, -1);
483 (void) close(tfd);
489 if ((tfd = open(tfname, O_RDWR)) >= 0) {
492 if (read(tfd, &touch_c, 1) == 1 &&
493 lseek(tfd, (off_t)0, 0) == 0 &&
494 write(tfd, &touch_c, 1) != 1) {
500 (void) close(tfd);
616 write(tfd, buf, len);