Searched refs:Timesname (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/cmd/logadm/ |
H A D | conf.c | 59 static const char *Timesname; /* name of the timestamps file */ variable 316 Timesname = tfname; in conf_open() 326 Singlefile = strcmp(Confname, Timesname) == 0; in conf_open() 366 if ((Timesfd = open(Timesname, O_CREAT|O_RDWR, 0644)) < 0) { in conf_open() 368 err(EF_SYS, "open %s", Timesname); in conf_open() 370 if ((Timesfd = open(Timesname, O_RDONLY)) < 0) in conf_open() 371 err(EF_SYS, "open %s", Timesname); in conf_open() 379 err(EF_SYS, "flock on %s", Timesname); in conf_open() 383 err(EF_SYS, "fstat on %s", Timesname); in conf_open() 386 if (stat(Timesname, &stbuf3) < 0 || in conf_open() [all …]
|