Searched refs:logfd (Results 1 – 1 of 1) sorted by relevance
53 int logfd; member268 tfd->logfd = xsocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in open_logfiles()270 } else tfd->logfd = open(tfd->filename, O_CREAT | O_WRONLY | O_APPEND, 0666); in open_logfiles()271 if (tfd->logfd < 0) { in open_logfiles()273 tfd->logfd = open(tfd->filename, O_APPEND); in open_logfiles()283 isreg = (!fstat(tf->logfd, &statf) && S_ISREG(statf.st_mode)); in write_rotate()301 close(tf->logfd); in write_rotate()302 tf->logfd = open(tf->filename, O_CREAT | O_WRONLY | O_APPEND, 0666); in write_rotate()303 if (tf->logfd < 0) { in write_rotate()308 ftruncate(tf->logfd, 0); in write_rotate()[all …]