Searched refs:w_afd (Results 1 – 2 of 2) sorted by relevance
128 wfile->w_afd = open(wfile->w_file, oflags, mode); in wlog_open()131 if (wfile->w_afd == -1) { in wlog_open()147 close(wfile->w_afd); in wlog_open()148 wfile->w_afd = -1; in wlog_open()162 close(wfile->w_afd); in wlog_close()220 if (write(wfile->w_afd, wbuf, reclen) == -1) { in wlog_record_write()226 offset = lseek(wfile->w_afd, 0, SEEK_CUR) - reclen; in wlog_record_write()
135 int w_afd; /* append fd */ member