Searched refs:Conffd (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/logadm/
H A Dconf.c56 static int Conffd = -1; /* file descriptor for config file */ variable
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 !
[all...]

Completed in 44 milliseconds