/original-bsd/usr.bin/ar/ |
H A D | move.c | 92 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 D | replace.c | 138 tsize = size = lseek(tfd1, (off_t)0, SEEK_CUR); 144 tsize += size = lseek(tfd2, (off_t)0, SEEK_CUR);
|
H A D | delete.c | 56 size = lseek(tfd, (off_t)0, SEEK_CUR);
|
H A D | archive.c | 298 if (lseek(fd, len, SEEK_CUR) == (off_t)-1)
|
/original-bsd/sys/sys/ |
H A D | unistd.h | 45 #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 D | build.c | 78 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 D | fseek.c | 59 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 D | ftell.c | 40 pos = (*fp->_seek)(fp->_cookie, (fpos_t)0, SEEK_CUR);
|
/original-bsd/bin/pax/ |
H A D | ar_io.c | 149 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 D | file_subs.c | 862 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 D | stand.h | 45 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
|
/original-bsd/usr.bin/nm/ |
H A D | nm.c | 223 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 D | clri.c | 97 if (lseek(fd, (off_t)-bsize, SEEK_CUR) < 0)
|
/original-bsd/include/ |
H A D | stdio.h | 179 #ifndef SEEK_CUR 180 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
|
/original-bsd/bin/dd/ |
H A D | position.c | 42 if (lseek(in.fd, (off_t)(in.offset * in.dbsz), SEEK_CUR) == -1) in pos_in()
|
H A D | dd.c | 186 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 D | sparc.h | 16 #define SEEK_CUR 1 macro
|
/original-bsd/lib/libc/db/recno/ |
H A D | rec_close.c | 131 if ((off = lseek(t->bt_rfd, (off_t)0, SEEK_CUR)) == -1)
|
H A D | rec_open.c | 98 if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) {
|
/original-bsd/usr.bin/tail/ |
H A D | tail.c | 168 if (lseek(fileno(stdin), (off_t)0, SEEK_CUR) == -1 &&
|
/original-bsd/contrib/libg++-2.3/libg++/g++-include/ |
H A D | unistd.h | 43 #define SEEK_CUR 1
|
/original-bsd/usr.bin/gcore/ |
H A D | md-sparc.c | 47 (void)lseek(fd, (off_t)-2 * NBPG, SEEK_CUR);
|
/original-bsd/usr.bin/lastcomm/ |
H A D | lastcomm.c | 93 if (fseek(fp, 2 * -(long)sizeof(struct acct), SEEK_CUR) == -1)
|
/original-bsd/old/symorder/ |
H A D | symorder.c | 174 if (small) ftruncate(o, lseek(o, 0, SEEK_CUR));
|
/original-bsd/contrib/sort/ |
H A D | files.c | 71 fseek(fd, nleft, SEEK_CUR);
|