Searched refs:sLog (Results 1 – 1 of 1) sorted by relevance
32 static int sLog = -1; variable49 if (sLog >= 0) { in prepare_output()52 if (fstat(sLog, &stat) == 0) { in prepare_output()62 if (sLog >= 0) in prepare_output()63 close(sLog); in prepare_output()83 bool haveSyslog = sLog >= 0; in prepare_output()86 sLog = open(syslog.Path(), O_APPEND | O_CREAT | O_WRONLY, 0644); in prepare_output()87 if (!haveSyslog && sLog >= 0) { in prepare_output()93 return sLog >= 0 ? B_OK : B_ERROR; in prepare_output()106 if (write(sLog, repeat, strlen(repeat)) < size) in write_to_log()[all …]