Lines Matching defs:Conffd
56 static int Conffd = -1; /* file descriptor for config file */
342 while (Conffd == -1) {
344 if ((Conffd = open(Confname, O_RDWR)) < 0) {
348 if ((Conffd = open(Confname, O_RDONLY)) < 0)
356 if (fcntl(Conffd, F_SETLKW, &flock) < 0)
360 if (fstat(Conffd, &stbuf1) < 0)
368 (void) close(Conffd);
369 Conffd = -1;
417 PROT_READ | PROT_WRITE, MAP_PRIVATE, Conffd, 0)) == (char *)-1)
538 if (Conffd != -1) {
539 (void) close(Conffd);
540 Conffd = -1;
590 if (Conffd == -1)
612 if (Conffd == -1)