Searched refs:SEEK_CUR (Results 51 - 75 of 146) sorted by relevance

123456

/illumos-gate/usr/src/lib/libcmd/common/
H A Djoin.c680 if (sfseek(jp->file[0].iop, (Sfoff_t)-jp->file[0].reclen, SEEK_CUR) < 0 || !(cp1 = getrec(jp, 0, 0)))
690 if ((lo = sfseek(jp->file[1].iop, (Sfoff_t)0, SEEK_CUR)) < 0)
760 if ((hi = sfseek(jp->file[1].iop, (Sfoff_t)0, SEEK_CUR)) < 0 ||
788 sfseek(jp->file[1].iop, (Sfoff_t)0, SEEK_CUR) < hi &&
948 if (sfseek(sfstdin,(Sfoff_t)0,SEEK_CUR) < 0)
965 if (sfseek(sfstdin,(Sfoff_t)0,SEEK_CUR) < 0)
H A Dtail.c165 if ((first = sfseek(fp, (Sfoff_t)0, SEEK_CUR)) < 0)
293 offset = sfseek(tp->sp, (Sfoff_t)0, SEEK_CUR);
740 rev_line(ip, sfstdout, sfseek(ip, (Sfoff_t)0, SEEK_CUR));
/illumos-gate/usr/src/lib/libexacct/common/
H A Dexacct_ops.c258 return (fseeko(f->ef_fp, adv, SEEK_CUR));
334 if (fseeko(f->ef_fp, (off_t)f->ef_advance, SEEK_CUR) == -1) {
407 if (fseeko(f->ef_fp, -backup, SEEK_CUR) == -1) {
425 if (fseeko(f->ef_fp, -((off_t)sizeof (uint32_t)), SEEK_CUR) == -1) {
456 if (fseeko(f->ef_fp, -((off_t)bkskip), SEEK_CUR) == -1) {
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dgprof.c252 (void) fseek(fp, CGRAPH_FILLER, SEEK_CUR);
305 (void) fseek(fp, FUNC_FILLER, SEEK_CUR);
381 (void) fseek(fp, BUF_FILLER, SEEK_CUR);
435 (void) fseek(fp, MODLIST_FILLER, SEEK_CUR);
459 (void) fseek(fp, MOD_FILLER, SEEK_CUR);
560 (void) fseek(fp, HDR_FILLER, SEEK_CUR);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_io.c367 offset = lseek(old->fd, 0, SEEK_CUR);
545 d->mark = lseek(d->fd, (off_t) 0, SEEK_CUR); /* can't fail */
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_region.c780 MEGABYTE, pages, relative, 0, SEEK_CUR)) != 0)
817 0, 0, DB_VMPAGESIZE - 1, 0, SEEK_CUR)) != 0)
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioFile.cc186 hdrsize = lseek(desc, (off_t)0, SEEK_CUR);
331 hdrsize = (off_t)lseek(desc, (off_t)0, SEEK_CUR);
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dutilities.c399 if (llseek(fd, addr, SEEK_CUR) < 0 ||
432 if (llseek(fd, addr, SEEK_CUR) < 0 ||
/illumos-gate/usr/src/cmd/sh/
H A Dname.c321 if (lseek(0, (off_t)0, SEEK_CUR) == -1)
435 lseek(0, (off_t)(f->nxtoff - f->endoff), SEEK_CUR);
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfsetbuf.c212 { if((f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,disc)) < 0)
235 f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,f->disc);
H A Dsfsync.c137 if(SFSK(f,(Sfoff_t)(-1),SEEK_CUR,f->disc) >= 0)
/illumos-gate/usr/src/head/
H A Dunistd.h67 #ifndef SEEK_CUR
68 #define SEEK_CUR 1 /* Set file pointer to current plus "offset" */ macro
/illumos-gate/usr/src/lib/libsmbios/common/
H A Dsmb_lib.c197 off64_t off = lseek64(fd, 0, SEEK_CUR) + P2ROUNDUP(sizeof (ep), 16);
/illumos-gate/usr/src/lib/libbc/libc/stdio/sys5/
H A Dflsbuf.c102 lseek(iop->_file, -(iop->_cnt), SEEK_CUR);
/illumos-gate/usr/src/common/fs/
H A Ddecompress.c275 if (whence == SEEK_CUR)
H A Dbootfsops.c264 case SEEK_CUR:
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftpsubs.c267 if (fseek(file, -1, SEEK_CUR) < 0)
/illumos-gate/usr/src/cmd/grep/
H A Dgrep.c465 ((lseek(temp, (off_t)0, SEEK_CUR) - 1) / BLKSIZE));
/illumos-gate/usr/src/stand/lib/sa/
H A Dstdio.c292 case SEEK_CUR:
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_open.c127 if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) {
/illumos-gate/usr/src/head/iso/
H A Dstdio_iso.h150 #define SEEK_CUR 1 macro
/illumos-gate/usr/src/boot/lib/libstand/
H A Dbzipfs.c320 case SEEK_CUR:
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_db.c487 if ((medrp->med_rec_foff = lseek(dbfd, 0, SEEK_CUR)) == -1)
611 if ((cur_off = lseek(dbfd, 0, SEEK_CUR)) == -1) {
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfs.c154 pos = lseek(fd, 0, SEEK_CUR);
211 pos = lseek(fd, 0, SEEK_CUR);
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dsfio.h130 #define SEEK_CUR 1 macro
424 : (m) == SEEK_CUR ? \

Completed in 185 milliseconds

123456