/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | join.c | 680 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 D | tail.c | 165 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 D | exacct_ops.c | 258 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 D | gprof.c | 252 (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 D | rc_io.c | 367 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 D | db_region.c | 780 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 D | AudioFile.cc | 186 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 D | utilities.c | 399 if (llseek(fd, addr, SEEK_CUR) < 0 || 432 if (llseek(fd, addr, SEEK_CUR) < 0 ||
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | name.c | 321 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 D | sfsetbuf.c | 212 { 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 D | sfsync.c | 137 if(SFSK(f,(Sfoff_t)(-1),SEEK_CUR,f->disc) >= 0)
|
/illumos-gate/usr/src/head/ |
H A D | unistd.h | 67 #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 D | smb_lib.c | 197 off64_t off = lseek64(fd, 0, SEEK_CUR) + P2ROUNDUP(sizeof (ep), 16);
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/sys5/ |
H A D | flsbuf.c | 102 lseek(iop->_file, -(iop->_cnt), SEEK_CUR);
|
/illumos-gate/usr/src/common/fs/ |
H A D | decompress.c | 275 if (whence == SEEK_CUR)
|
H A D | bootfsops.c | 264 case SEEK_CUR:
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftpsubs.c | 267 if (fseek(file, -1, SEEK_CUR) < 0)
|
/illumos-gate/usr/src/cmd/grep/ |
H A D | grep.c | 465 ((lseek(temp, (off_t)0, SEEK_CUR) - 1) / BLKSIZE));
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | stdio.c | 292 case SEEK_CUR:
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_open.c | 127 if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) {
|
/illumos-gate/usr/src/head/iso/ |
H A D | stdio_iso.h | 150 #define SEEK_CUR 1 macro
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | bzipfs.c | 320 case SEEK_CUR:
|
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/ |
H A D | med_db.c | 487 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 D | ipfs.c | 154 pos = lseek(fd, 0, SEEK_CUR); 211 pos = lseek(fd, 0, SEEK_CUR);
|
/illumos-gate/usr/src/lib/libast/amd64/include/ast/ |
H A D | sfio.h | 130 #define SEEK_CUR 1 macro 424 : (m) == SEEK_CUR ? \
|