Searched refs:SEEK_CUR (Results 26 - 50 of 146) sorted by relevance

123456

/illumos-gate/usr/src/stand/sys/
H A Dbootvfs.h41 #define SEEK_CUR 1 /* Current + Offset */ macro
/illumos-gate/usr/src/uts/intel/sys/
H A Dbootvfs.h38 #define SEEK_CUR 1 /* Current + Offset */ macro
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfdcseekable.c73 addr = sfseek(sf,(Sfoff_t)0,SEEK_CUR);
124 case SEEK_CUR:
204 if(sfseek(f,(Sfoff_t)0,SEEK_CUR) >= 0)
H A Dsfdcdos.c104 while((++mp)->logical && (whence==SEEK_CUR?mp->physical:mp->logical) <= offset);
226 * if <whence> is SEEK_CUR, physical offset converted to logical offset
242 if(whence==SEEK_CUR)
292 case SEEK_CUR:
293 offset = sfsk(iop, (Sfoff_t)0,SEEK_CUR,disc);
331 if(whence==SEEK_CUR && dp->phere>=offset)
/illumos-gate/usr/src/uts/common/syscall/
H A Dlseek.c53 #define SEEK_CUR 1 /* Set file pointer to current plus "offset" */ macro
101 case SEEK_CUR:
290 case SEEK_CUR:
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dsetup.c155 (void) lseek(fd, (off_t) (header.name_size - 127), SEEK_CUR);
165 SEEK_CUR
184 SEEK_CUR
210 SEEK_CUR
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dsetup.c200 (void) lseek(fd, (off_t) (header.name_size - 127), SEEK_CUR);
209 SEEK_CUR);
226 (header.num_count - __COUNT_NUM)), SEEK_CUR);
250 (header.str_count - __COUNT_STR)), SEEK_CUR);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_strio.c77 case SEEK_CUR:
H A Dmdb_fdio.c188 if ((off = lseek64(fdp->fd_fd, 0, SEEK_CUR)) == -1)
229 if ((off = lseek64(fdp->fd_fd, 0, SEEK_CUR)) == -1)
/illumos-gate/usr/src/lib/libbc/inc/5include/
H A Dstdio.h56 * ANSI C requires definitions of SEEK_CUR, SEEK_END, and SEEK_SET here.
64 #define SEEK_CUR 1 macro
/illumos-gate/usr/src/boot/lib/libz/
H A Dgzlib.c259 state->start = LSEEK(state->fd, 0, SEEK_CUR);
386 if (whence != SEEK_SET && whence != SEEK_CUR)
389 /* normalize offset to a SEEK_CUR specification */
399 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR);
495 offset = LSEEK(state->fd, 0, SEEK_CUR);
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_impl.h56 #ifndef SEEK_CUR
57 #define SEEK_CUR 1 macro
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfwr.c105 if(SFSK(f,(Sfoff_t)s,SEEK_CUR,NIL(Sfdisc_t*)) < 0)
216 f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,dc);
H A Dsfrd.c148 (r = SFSK(f,(Sfoff_t)0,SEEK_CUR,dc)) != f->here)
239 else f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,dc);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dsplitfs.c249 case SEEK_CUR:
291 new_pos = lseek(sf->curfd, seek_by, SEEK_CUR);
H A Dgzipfs.c301 case SEEK_CUR:
339 pos1 = lseek(zf->zf_rawfd, 0, SEEK_CUR);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c1065 #define SEEK_CUR 1
1262 if (fseek(KTFILEP(id), 0L, SEEK_CUR) < 0)
1276 if (fseek(KTFILEP(id), -size, SEEK_CUR)) {
1484 if (fseek(KTFILEP(id), 0L, SEEK_CUR) < 0)
1672 if (fseek(KTFILEP(id), 0L, SEEK_CUR) < 0)
1693 if (fseek(KTFILEP(id), size, SEEK_CUR)) {
1705 if (fseek(KTFILEP(id), size, SEEK_CUR)) {
1712 if (fseek(KTFILEP(id), 0L, SEEK_CUR) < 0)
1730 if (fseek(KTFILEP(id), 0L, SEEK_CUR) < 0)
1742 if (fseek(KTFILEP(id), 0L, SEEK_CUR) <
1062 #define SEEK_CUR macro
[all...]
/illumos-gate/usr/src/tools/lintdump/
H A Dlintdump.c174 (void) fseek(fp, psizes[pass], SEEK_CUR);
479 (void) fseek(fp, sizeof (ATYPE) * nargs, SEEK_CUR);
488 (void) fseek(fp, sizeof (ATYPE), SEEK_CUR);
/illumos-gate/usr/src/lib/libproc/common/
H A DPfdinfo.c134 info->pr_offset = pr_llseek(P, fd, 0, SEEK_CUR);
/illumos-gate/usr/src/cmd/tail/
H A Dtail.c215 if (lseek(fileno(stdin), (off_t)0, SEEK_CUR) == -1 &&
/illumos-gate/usr/src/lib/udapl/libdat/include/
H A Ddat_osd.h203 #define dat_os_fungetc(file) fseek((file), -1, SEEK_CUR)
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-int.h275 #define SEEK_CUR 1 macro
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_close.c183 if ((off = lseek(t->bt_rfd, (off_t)0, SEEK_CUR)) == -1)
/illumos-gate/usr/src/ucbhead/
H A Dstdio.h110 #define SEEK_CUR 1 macro
/illumos-gate/usr/src/boot/include/
H A Dstdio.h219 #ifndef SEEK_CUR
220 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro

Completed in 193 milliseconds

123456