static void cached_file_close (struct tr_cached_file * o) { assert (cached_file_is_open (o)); tr_close_file (o->fd); o->fd = -1; }
static void cached_file_close (struct tr_cached_file * o) { assert (cached_file_is_open (o)); tr_sys_file_close (o->fd, NULL); o->fd = TR_BAD_SYS_FILE; }