Home
last modified time | relevance | path

Searched refs:SEEK_CUR (Results 1 – 25 of 35) sorted by relevance

12

/original-bsd/usr.bin/ar/
H A Dmove.c92 tsize = size = lseek(tfd1, (off_t)0, SEEK_CUR);
96 tsize += size = lseek(tfd2, (off_t)0, SEEK_CUR);
101 tsize += size = lseek(tfd3, (off_t)0, SEEK_CUR);
H A Dreplace.c138 tsize = size = lseek(tfd1, (off_t)0, SEEK_CUR);
144 tsize += size = lseek(tfd2, (off_t)0, SEEK_CUR);
H A Ddelete.c56 size = lseek(tfd, (off_t)0, SEEK_CUR);
H A Darchive.c298 if (lseek(fd, len, SEEK_CUR) == (off_t)-1)
/original-bsd/sys/sys/
H A Dunistd.h45 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
51 #define L_INCR SEEK_CUR
/original-bsd/usr.bin/ranlib/
H A Dbuild.c78 size = lseek(tfd, (off_t)0, SEEK_CUR); in build()
82 (void)ftruncate(afd, lseek(afd, (off_t)0, SEEK_CUR)); in build()
112 r_off = lseek(rfd, (off_t)0, SEEK_CUR);
113 w_off = lseek(wfd, (off_t)0, SEEK_CUR);
/original-bsd/lib/libc/stdio/
H A Dfseek.c59 case SEEK_CUR:
68 curoff = (*seekfn)(fp->_cookie, (fpos_t)0, SEEK_CUR);
134 curoff = (*seekfn)(fp->_cookie, (fpos_t)0, SEEK_CUR);
H A Dftell.c40 pos = (*fp->_seek)(fp->_cookie, (fpos_t)0, SEEK_CUR);
/original-bsd/bin/pax/
H A Dar_io.c149 else if ((lseek(arfd, (off_t)0L, SEEK_CUR) == -1) && (errno == ESPIPE))
444 if (((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) || in ar_set_wr()
622 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0)
763 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) in ar_rdsync()
766 if (lseek(arfd, mpos, SEEK_CUR) < 0) in ar_rdsync()
831 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) >= 0) {
905 if ((cpos = lseek(arfd, (off_t)0L, SEEK_CUR)) < 0) {
H A Dfile_subs.c862 if (lseek(fd, (off_t)wcnt, SEEK_CUR) < 0) {
918 if (lseek(fd, (off_t)-1, SEEK_CUR) < 0) {
/original-bsd/sys/stand/
H A Dstand.h45 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
/original-bsd/usr.bin/nm/
H A Dnm.c223 SEEK_CUR);
273 if (fseek(fp, (long)-sizeof(head), SEEK_CUR)) {
293 if (fseek(fp, (long)N_SYMOFF(head), SEEK_CUR)) {
/original-bsd/sbin/clri/
H A Dclri.c97 if (lseek(fd, (off_t)-bsize, SEEK_CUR) < 0)
/original-bsd/include/
H A Dstdio.h179 #ifndef SEEK_CUR
180 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
/original-bsd/bin/dd/
H A Dposition.c42 if (lseek(in.fd, (off_t)(in.offset * in.dbsz), SEEK_CUR) == -1) in pos_in()
H A Ddd.c186 else if (lseek(io->fd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE)
234 lseek(in.fd, (off_t)in.dbsz, SEEK_CUR)) in dd_in()
/original-bsd/contrib/gdb-4.7.LBL/bfd/hosts/
H A Dsparc.h16 #define SEEK_CUR 1 macro
/original-bsd/lib/libc/db/recno/
H A Drec_close.c131 if ((off = lseek(t->bt_rfd, (off_t)0, SEEK_CUR)) == -1)
H A Drec_open.c98 if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) {
/original-bsd/usr.bin/tail/
H A Dtail.c168 if (lseek(fileno(stdin), (off_t)0, SEEK_CUR) == -1 &&
/original-bsd/contrib/libg++-2.3/libg++/g++-include/
H A Dunistd.h43 #define SEEK_CUR 1
/original-bsd/usr.bin/gcore/
H A Dmd-sparc.c47 (void)lseek(fd, (off_t)-2 * NBPG, SEEK_CUR);
/original-bsd/usr.bin/lastcomm/
H A Dlastcomm.c93 if (fseek(fp, 2 * -(long)sizeof(struct acct), SEEK_CUR) == -1)
/original-bsd/old/symorder/
H A Dsymorder.c174 if (small) ftruncate(o, lseek(o, 0, SEEK_CUR));
/original-bsd/contrib/sort/
H A Dfiles.c71 fseek(fd, nleft, SEEK_CUR);

12