Browse Source

+ f2b_logfile_close()

master
Zubrikhin Alexey 9 years ago
parent
commit
1bde56c1da
  1. 5
      src/logfile.c

5
src/logfile.c

@ -31,7 +31,10 @@ f2b_logfile_open(f2b_logfile_t *file, const char *filename) {
} }
void void
f2b_logfile_close(const f2b_logfile_t *file); f2b_logfile_close(const f2b_logfile_t *file) {
assert(file != NULL);
fclose(file->fd);
}
bool bool
f2b_logfile_rotated(const f2b_logfile_t *file); f2b_logfile_rotated(const f2b_logfile_t *file);

Loading…
Cancel
Save