Searched refs:LogFD (Results 1 – 1 of 1) sorted by relevance
53 static int LogFD = ERR; variable398 if (LogFD < OK) { in log_it()399 LogFD = open(LOG_FILE, O_WRONLY|O_APPEND|O_CREAT, 0600); in log_it()400 if (LogFD < OK) { in log_it()403 (void) fcntl(LogFD, F_SETFD, 1); in log_it()419 if (LogFD < OK || write(LogFD, msg, strlen(msg)) < OK) { in log_it()420 if (LogFD >= OK) in log_it()460 if (LogFD != ERR) { in log_close()461 close(LogFD); in log_close()462 LogFD = ERR; in log_close()