Lines Matching refs:log
47 char LogPath[MAXPATHLEN]; /* pathname of log file */
220 * Opens the console log file; returns a file descriptor
228 FILE *log;
255 fprintf(stderr, "log file = \"%s\"\n", path);
258 if ( (tmpFd < 0) || (log = fdopen(tmpFd, "w")) == NULL) {
260 "fbconsole: couldn't open console log file '%s'\n",path);
263 setbuf(log, NULL);
265 fchmod(fileno(log), S_IRUSR|S_IWUSR);
267 return log;
285 * Closes log file and exits
322 * Reads a console message and writes it to the console log file
327 FILE *log)
337 (void) fwrite(buf, rcount, 1, log);
343 * On input from the console - logs it to the console log file.
350 FILE *log)
375 LogConsole(console,log);
402 FILE *log;
438 log = OpenLog(dpyName, logFile);
446 InputLoop(dpy, console, log);