Searched refs:LSEEK (Results 1 – 1 of 1) sorted by relevance
/openbsd/lib/libz/ |
H A D | gzlib.c | 9 # define LSEEK llseek macro 11 # define LSEEK _lseeki64 macro 13 # define LSEEK lseek64 macro 15 # define LSEEK lseek macro 245 LSEEK(state->fd, 0, SEEK_END); /* so gzoffset() is correct */ in gz_open() 251 state->start = LSEEK(state->fd, 0, SEEK_CUR); in gz_open() 335 if (LSEEK(state->fd, state->start, SEEK_SET) == -1) in gzrewind() 372 ret = LSEEK(state->fd, offset - (z_off64_t)state->x.have, SEEK_CUR); in gzseek64() 458 offset = LSEEK(state->fd, 0, SEEK_CUR); in gzoffset64()
|