SEEK_CUR
if (lseek(SHIN, (off_t) 0, SEEK_CUR) < 0 || errno == ESPIPE)
fseekp = fbobp = feobp = lseek(SHIN, (off_t) 0, SEEK_CUR);
else if (io->ops->op_lseek(io->fd, (off_t)0, SEEK_CUR) == -1
ddop_lseek(in, in.fd, (off_t)in.dbsz, SEEK_CUR))
out.fd, pending, SEEK_CUR) == -1)
(off_t)in.offset * (off_t)in.dbsz, SEEK_CUR) == -1) {
if (from == SEEK_CUR &&
if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0)
if (lseek(arfd, mpos, SEEK_CUR) < 0)
if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) >= 0) {
if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) {
else if ((lseek(arfd, (off_t)0L, SEEK_CUR) == -1) && (errno == ESPIPE))
if (((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) ||
if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0)
lseek(fd, (off_t)wcnt, SEEK_CUR) < 0) {
if (lseek(fd, (off_t)-1, SEEK_CUR) < 0) {
if ((dblk.npos = lseek(dirfd, 0L, SEEK_CUR)) < 0) {
if (lseek(dirfd, -((off_t)sizeof(dblk)), SEEK_CUR) < 0)
if (lseek(fd, 0, SEEK_CUR) == -1 && errno == ESPIPE) {
(void)lseek(fd, (off_t)(pos - len), SEEK_CUR);
if (lseek(in->fd, (off_t)bypass, SEEK_CUR) == -1)
lastoff = lseek(gz.fd, 0L, SEEK_CUR) - gz.left;
lastoff = lseek(gz.fd, 0L, SEEK_CUR) - strm->avail_in;
end = lseek(gz.fd, 0L, SEEK_CUR) - gz.left;
lseek(gz.fd, -1L, SEEK_CUR);
lseek(in->fd, skip - 1, SEEK_CUR);
lseek(in->fd, skip - left, SEEK_CUR);
lseek(log->fd, log->stored, SEEK_CUR) < 0 ? -1 : 0;
(end = lseek(log->fd, 0, SEEK_CUR)) < 0 || ftruncate(log->fd, end))
read(log->fd, buf, 1) != 1 || lseek(log->fd, -1, SEEK_CUR) < 0) {
if ((log->first = lseek(log->fd, -1, SEEK_CUR)) < 0 ||
(end = lseek(log->fd, 0, SEEK_CUR)) < 0 || ftruncate(log->fd, end))
if (lseek(log->fd, 0, SEEK_CUR) != log->last + 4 + log->stored)
state->start = LSEEK(state->fd, 0, SEEK_CUR);
if (whence != SEEK_SET && whence != SEEK_CUR)
ret = LSEEK(state->fd, offset - (z_off64_t)state->x.have, SEEK_CUR);
offset = LSEEK(state->fd, 0, SEEK_CUR);
gzseek(file, 1L, SEEK_CUR); /* add one zero byte */
pos = gzseek(file, -8L, SEEK_CUR);
fseek(fp, ph.caplen, SEEK_CUR);
#ifndef SEEK_CUR
case SEEK_CUR:
*basep = (long)lseek(fd, (off_t)0, SEEK_CUR);
if ((off = lseek(t->bt_rfd, (off_t)0, SEEK_CUR)) == -1)
if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) {
dirp->dd_seek = lseek(fd, (off_t)0, SEEK_CUR);
fl.l_whence = SEEK_CUR;
dirp->dd_seek = lseek(dirp->dd_fd, (off_t)0, SEEK_CUR);
if (fseeko(fp, -(off_t)sizeof(ut), SEEK_CUR) == -1)
case SEEK_CUR:
curoff = (*seekfn)(fp->_cookie, (off_t)0, SEEK_CUR);
curoff = (*seekfn)(fp->_cookie, (off_t)0, SEEK_CUR);
case SEEK_CUR:
pos = (*fp->_seek)(fp->_cookie, (off_t)0, SEEK_CUR);
pos = (*fp->_seek)(fp->_cookie, (off_t)0, SEEK_CUR);
case SEEK_CUR:
case SEEK_CUR:
(void)lseek(fd, -(off_t)sizeof(ut), SEEK_CUR);
if (fseek(fout, 0L, SEEK_CUR) < 0) {
off = lseek(filefd, (off_t)0, SEEK_CUR);
(void)lseek(fd, -(off_t)sizeof(UTMP), SEEK_CUR);
(void)lseek(fd, -(off_t)sizeof(UTMP), SEEK_CUR);
(off_t)0, SEEK_CUR) - rdirp->dd_size + rdirp->dd_loc);
(void) fseek(mf, node.extsize, SEEK_CUR);
if (lseek(ofile, size, SEEK_CUR) == -1) {
seek_failed = (lseek(mt, i, SEEK_CUR) == (off_t)-1);
if ((oldoff = lseek(sd, 0, SEEK_CUR)) == -1) {
case SEEK_CUR:
case SEEK_CUR:
case SEEK_CUR:
lseek(fd, 8, SEEK_CUR);
case SEEK_CUR:
case SEEK_CUR:
case SEEK_CUR:
lseek(to, sizeof(load), SEEK_CUR);
lseek(to, -total, SEEK_CUR);
lseek(to, total - sizeof(load), SEEK_CUR);
case SEEK_CUR:
case SEEK_CUR:
case SEEK_CUR:
case SEEK_CUR:
case SEEK_CUR:
lenpos = lseek(prep_fd, 0, SEEK_CUR);
kstart = lseek(prep_fd, 0, SEEK_CUR);
kend = lseek(prep_fd, 0, SEEK_CUR);
lseek(rs6000_fd, elf_pad, SEEK_CUR);
lenpos = lseek(rs6000_fd, 0, SEEK_CUR);
kstart = lseek(rs6000_fd, 0, SEEK_CUR);
kend = lseek(rs6000_fd, 0, SEEK_CUR);
lenpos = lseek(bebox_fd, 0, SEEK_CUR);
kstart = lseek(bebox_fd, 0, SEEK_CUR);
kend = lseek(bebox_fd, 0, SEEK_CUR);
kstart = kend = lseek(bebox_fd, 0, SEEK_CUR);
case SEEK_CUR:
xfseek(fp, -1, SEEK_CUR, NULL);
fseek(fp, len, SEEK_CUR);
fseek(fp, -1, SEEK_CUR);
nextent->size : nextent->cmpsize, SEEK_CUR);
case SEEK_CUR:
if (ulseek32(fd, OFFT_OFFSET_MAX, SEEK_CUR) < 0 &&
r = ulseek32(fd, (long)off, SEEK_CUR);
fseek(s->img_file, n - blen, SEEK_CUR);
case SEEK_CUR:
case SEEK_CUR:
if ((fl->l_whence != SEEK_CUR && fl->l_whence != SEEK_SET) ||
} else if (fl->l_whence == SEEK_SET || fl->l_whence == SEEK_CUR) {
case SEEK_CUR:
case SEEK_CUR:
case SEEK_CUR:
case SEEK_CUR:
case SEEK_CUR:
if (fl->l_whence == SEEK_CUR) {
case SEEK_CUR:
case SEEK_CUR:
case SEEK_CUR:
case SEEK_CUR:
if (lseek(fd, x->a_text - sub, SEEK_CUR) == -1) {
if (lseek(fd, x->a_data, SEEK_CUR) == -1) {
if (lseek(fd, x->a_syms, SEEK_CUR) == -1) {
if (lseek(fd, cc, SEEK_CUR) == -1) {
if (lseek(fd, coff->a.tsize, SEEK_CUR) == -1) {
case SEEK_CUR:
case SEEK_CUR:
case SEEK_CUR:
case SEEK_CUR:
case SEEK_CUR:
case SEEK_CUR:
#ifndef SEEK_CUR
#define L_INCR SEEK_CUR
offset = lseek(fd, 0, SEEK_CUR);
offset = lseek(fd, 0, SEEK_CUR);
ATF_REQUIRE(fseek(f, 0, SEEK_CUR) == 0);
ATF_REQUIRE(lseek(fd, 0, SEEK_CUR) == 3);
ATF_CHECK(fseeko(fp, (off_t)0, SEEK_CUR) == 0);
ATF_CHECK(fseeko(fp, (off_t)-1, SEEK_CUR) == -1);
ATF_CHECK(fseeko(fp, (off_t)1, SEEK_CUR) == 0);
ATF_CHECK(fseeko(fp, (off_t)1, SEEK_CUR) == -1);
ATF_CHECK(fseeko(fp, (off_t)0, SEEK_CUR) == 0);
ATF_CHECK(fseeko(fp, (off_t)1, SEEK_CUR) == 0);
ATF_CHECK(fseeko(fp, (off_t)1, SEEK_CUR) == -1);
ATF_CHECK(fseeko(fp, (off_t)-1, SEEK_CUR) == 0);
ATF_CHECK(fseeko(fp, (off_t)-1, SEEK_CUR) == -1);
ATF_CHECK(fseek(fp, -1, SEEK_CUR) == 0);
ATF_CHECK(fseek(fp, 5, SEEK_CUR) == 0);
ATF_REQUIRE(lseek(fd, 0, SEEK_CUR) == (off_t)(i + 1));
(void)fseeko(ofp, -(off_t)sizeof(buf), SEEK_CUR);
if (fseeko(ofp, -(off_t)nread, SEEK_CUR) != 0)
if (fseeko(ofp, (off_t)nread - i + 1, SEEK_CUR) != 0)
(void)fseek(fp[i], (long)-nchar, SEEK_CUR);
(uint32_t)len, (uint32_t)lseek(outfile, 0, SEEK_CUR), msg);
if (fseeko(fout, (off_t)0, SEEK_CUR) < 0) {
if (lseek(wfd, 0, SEEK_CUR) < 0) {
if (fseeko(fp, 2 * -(off_t)sizeof(ab), SEEK_CUR) == -1)
cur_pos = lseek(fd, (off_t)0, SEEK_CUR);
cur_pos = lseek(fd, (off_t)0, SEEK_CUR);
if (fseek(arch, -(long)elen, SEEK_CUR) != 0)
if (fseek(arch, ((long)size + 1) & ~1, SEEK_CUR) != 0)
if (fseek(arch, -(long)sizeof *out_arh, SEEK_CUR) !=
SEEK_CUR) != 0) {
if (fseek(arch, -(long)elen, SEEK_CUR) != 0) {
if (fseek(arch, (size + 1) & ~1L, SEEK_CUR) != 0) {
fseek(pfp, -1L, SEEK_CUR);
if (fseeko(fp, len, SEEK_CUR) == -1)
if (lseek(fileno(stdin), (off_t)0, SEEK_CUR) == -1 &&
(lseek(offtab->ot_fd, 0, SEEK_CUR) == offtab->ot_fdpos) ||
((lseek(offtab->ot_fd, 0, SEEK_CUR) == -1) && (errno == ESPIPE)));
assert((lseek(offtab->ot_fd, 0, SEEK_CUR) == offtab->ot_fdpos) ||
((lseek(offtab->ot_fd, 0, SEEK_CUR) == -1) && (errno == ESPIPE)));
assert(lseek(offtab->ot_fd, 0, SEEK_CUR) == offtab->ot_fdpos);
assert((off_t)S->offset == lseek(S->cloop2_fd, 0, SEEK_CUR));
assert((off_t)S->offset == lseek(S->cloop2_fd, 0, SEEK_CUR));
assert((off_t)S->offset <= lseek(S->cloop2_fd, 0, SEEK_CUR));
if (lseek(cloop2_fd, 0, SEEK_CUR) == -1) {
if (lseek(cloop2_fd, 0, SEEK_CUR) == -1) {
SEEK_CUR));
fseek(fd, 32 - strlen(part_name) - 1, SEEK_CUR);
fseek(fd, 32 - strlen(part_type) - 1, SEEK_CUR);
(lseek(ii->fd, 0, SEEK_CUR) + bufsize) < 0) {
dl.lseek = lseek(dl.ldfd,0L,SEEK_CUR);
dle->lseek = lseek(dle->ldfd, 0L, SEEK_CUR);
dle->lseek = lseek(dle->ldfd, 0L, SEEK_CUR);
if (fseeko(fp, pkt.caplen, SEEK_CUR) != 0)
(void)fseek(qfi, -(long)sizeof(struct dqblk), SEEK_CUR);
(lseek(fd, 0, SEEK_CUR) + bufsize) < 0) {