Home
last modified time | relevance | path

Searched refs:Timesfd (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/logadm/
H A Dconf.c60 static int Timesfd = -1; /* file descriptor for timestamps file */ variable
365 while (!Singlefile && Timesfd == -1) { in conf_open()
366 if ((Timesfd = open(Timesname, O_CREAT|O_RDWR, 0644)) < 0) { in conf_open()
370 if ((Timesfd = open(Timesname, O_RDONLY)) < 0) in conf_open()
378 if (fcntl(Timesfd, F_SETLKW, &flock) < 0) in conf_open()
382 if (fstat(Timesfd, &stbuf2) < 0) in conf_open()
390 (void) close(Timesfd); in conf_open()
391 Timesfd = -1; in conf_open()
421 if (Timesfd != -1 && Timeslen != 0) { in conf_open()
424 Timesfd, 0)) == (char *)-1) in conf_open()
[all …]