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

/illumos-gate/usr/src/cmd/tip/
H A Dlog.c16 static FILE *flog = NULL; variable
28 if (flog == NULL)
31 if (flock(fileno(flog), LOCK_EX) < 0) {
44 (void) fprintf(flog, "%s (%s) <%s, %s, %s> %s\n",
52 (void) fflush(flog);
54 (void) flock(fileno(flog), LOCK_UN);
63 flog = fopen(value(LOG), "a");
64 if (flog == NULL)

Completed in 559 milliseconds