Searched refs:file_pos (Results 1 – 1 of 1) sorted by relevance
180 tac_seekable (int input_fd, char const *file, off_t file_pos) in tac_seekable() argument205 size_t remainder = file_pos % read_size; in tac_seekable()208 file_pos -= remainder; in tac_seekable()209 if (lseek (input_fd, file_pos, SEEK_SET) < 0) in tac_seekable()216 && file_pos != 0) in tac_seekable()221 file_pos -= read_size; in tac_seekable()233 file_pos += nread; in tac_seekable()292 if (file_pos == 0) in tac_seekable()320 if (file_pos >= read_size) in tac_seekable()321 file_pos -= read_size; in tac_seekable()[all …]