Symbol: lseek
bin/cp/utils.c
149
wcount = lseek(to_fd, rcount, SEEK_CUR) == -1 ? -1 : rcount;
bin/cp/utils.c
159
rcount = ftruncate(to_fd, lseek(to_fd, 0, SEEK_CUR));
bin/csh/csh.c
1273
return lseek(DESC(oreo), off, whence);
bin/csh/dol.c
861
(void) lseek(STDIN_FILENO, (off_t) 0, SEEK_SET);
bin/csh/lex.c
1388
(void) lseek(SHIN, fseekp, SEEK_SET);
bin/csh/lex.c
1539
(void) lseek(SHIN, (off_t) 0, SEEK_END);
bin/csh/lex.c
1556
if (lseek(SHIN, (off_t) 0, SEEK_CUR) == -1 || errno == ESPIPE)
bin/csh/lex.c
1561
fseekp = fbobp = feobp = lseek(SHIN, (off_t) 0, SEEK_CUR);
bin/dd/dd.c
277
lseek(in.fd, (off_t)in.dbsz, SEEK_CUR))
bin/dd/position.c
127
if (lseek(out.fd, out.offset * out.dbsz, SEEK_SET) == -1)
bin/dd/position.c
67
if (lseek(in.fd, in.offset * in.dbsz, SEEK_CUR) == -1)
bin/ed/main.c
168
if (lseek(STDIN_FILENO, 0, SEEK_CUR)) {
bin/ksh/shf.c
295
lseek(shf->fd, (off_t) -shf->rnleft, SEEK_CUR);
bin/mv/cp.c
493
wcount = lseek(to_fd, rcount, SEEK_CUR) == -1 ? -1 : rcount;
bin/mv/cp.c
503
rcount = ftruncate(to_fd, lseek(to_fd, 0, SEEK_CUR));
bin/pax/ar_io.c
177
else if ((lseek(arfd, 0, SEEK_CUR) == -1) && (errno == ESPIPE))
bin/pax/ar_io.c
464
if (((cpos = lseek(arfd, 0, SEEK_CUR)) < 0) ||
bin/pax/ar_io.c
623
if ((cpos = lseek(arfd, 0, SEEK_CUR)) == -1)
bin/pax/ar_io.c
759
if ((cpos = lseek(arfd, 0, SEEK_CUR)) == -1)
bin/pax/ar_io.c
762
if (lseek(arfd, mpos, SEEK_CUR) == -1)
bin/pax/ar_io.c
820
if ((cpos = lseek(arfd, 0, SEEK_CUR)) >= 0) {
bin/pax/ar_io.c
832
if (lseek(arfd, mpos, SEEK_SET) >= 0)
bin/pax/ar_io.c
888
if ((cpos = lseek(arfd, 0, SEEK_CUR)) == -1) {
bin/pax/ar_io.c
913
if (lseek(arfd, cpos, SEEK_SET) == -1) {
bin/pax/file_subs.c
1037
if (lseek(fd, -1, SEEK_CUR) < 0) {
bin/pax/file_subs.c
1125
else if (lseek(fd, 0, SEEK_SET) < 0)
bin/pax/file_subs.c
967
lseek(fd, wcnt, SEEK_CUR) < 0) {
bin/pax/tables.c
525
if (lseek(ffd,pt->seek,SEEK_SET) != pt->seek) {
bin/pax/tables.c
575
if ((pt->seek = lseek(ffd, 0, SEEK_END)) >= 0) {
games/canfield/canfield/canfield.c
1380
lseek(dbfd, 0, SEEK_SET);
games/canfield/canfield/canfield.c
1702
lseek(dbfd, 0, SEEK_SET);
games/fortune/fortune/fortune.c
856
(void) lseek(fp->datfd,
games/hack/hack.save.c
201
(void) lseek(fd, (off_t)0, SEEK_SET);
games/hangman/ksyms.c
118
if (lseek(symfd, 0, SEEK_SET) == -1)
games/hangman/ksyms.c
127
if (lseek(symfd, eh.e_shoff, SEEK_SET) == -1)
games/hangman/ksyms.c
44
if (lseek(symfd, pos + symoffs, SEEK_SET) == -1)
games/robots/score.c
103
lseek(inf, 0, SEEK_SET);
games/robots/score.c
126
lseek(inf, 0L, SEEK_SET);
games/robots/score.c
131
lseek(inf, 0, SEEK_SET);
include/unistd.h
358
off_t lseek(int, off_t, int);
lib/libc/db/recno/rec_close.c
127
if (lseek(t->bt_rfd, 0, SEEK_SET) != 0)
lib/libc/db/recno/rec_close.c
167
if ((off = lseek(t->bt_rfd, 0, SEEK_CUR)) == -1)
lib/libc/db/recno/rec_open.c
119
if (lseek(rfd, 0, SEEK_CUR) == -1 && errno == ESPIPE) {
lib/libc/gen/opendir.c
79
dirp->dd_bufpos = dirp->dd_curpos = lseek(fd, 0, SEEK_CUR);
lib/libc/gen/seekdir.c
72
dirp->dd_bufpos = dirp->dd_curpos = lseek(dirp->dd_fd, loc, SEEK_SET);
lib/libc/hash/helper.c
81
if (off > 0 && lseek(fd, off, SEEK_SET) == -1) {
lib/libc/hidden/unistd.h
105
PROTO_NORMAL(lseek);
lib/libc/rpc/xdr_rec.c
324
pos = lseek((int)(long)rstrm->tcp_handle, 0, SEEK_CUR);
lib/libc/stdio/stdio.c
63
(void) lseek(fp->_file, 0, SEEK_END);
lib/libc/stdio/stdio.c
74
ret = lseek(fp->_file, offset, whence);
lib/libcrypto/arc4random/getentropy_aix.c
360
HX((off = lseek(0, (off_t)0,
lib/libcrypto/arc4random/getentropy_hpux.c
354
HX((off = lseek(0, (off_t)0,
lib/libcrypto/arc4random/getentropy_linux.c
464
HX((off = lseek(0, (off_t)0,
lib/libcrypto/arc4random/getentropy_osx.c
374
HX((off = lseek(0, (off_t)0,
lib/libcrypto/arc4random/getentropy_solaris.c
380
HX((off = lseek(0, (off_t)0,
lib/libcrypto/bio/bss_fd.c
176
ret = (long)lseek(b->num, num, 0);
lib/libcrypto/bio/bss_fd.c
180
ret = (long)lseek(b->num, 0, 1);
lib/libcurses/tinfo/read_termcap.c
327
(void) lseek(fd, (off_t) 0, SEEK_SET);
lib/libedit/vi.c
1017
lseek(fd, (off_t)0, SEEK_SET);
lib/libelf/elf_update.c
1096
lseek(e->e_fd, (off_t) 0, SEEK_SET)) {
lib/libkvm/kvm.c
489
if (lseek(kd->pmfd, kd->dump_off, SEEK_SET) != kd->dump_off && errno != 0) {
lib/libutil/logout.c
59
(void)lseek(fd, -(off_t)sizeof(UTMP), SEEK_CUR);
lib/libutil/uucplock.c
135
lseek(fd, 0, SEEK_SET);
lib/libz/gzlib.c
15
# define LSEEK lseek
libexec/ftpd/ftpd.c
1159
} else if (lseek(fileno(fin), restart_point, SEEK_SET) == -1) {
libexec/ftpd/ftpd.c
1244
} else if (lseek(fileno(fout), restart_point, SEEK_SET) == -1) {
libexec/ftpd/logutmp.c
111
(void)lseek(fd, 0, SEEK_SET);
libexec/ftpd/logutmp.c
121
(void)lseek(fd, -(off_t)sizeof(struct utmp), SEEK_CUR);
libexec/ftpd/logutmp.c
79
(void)lseek(fd, (off_t)topslot * sizeof(struct utmp), SEEK_SET);
libexec/ftpd/logutmp.c
85
(void)lseek(fd, -(off_t)sizeof(struct utmp),
libexec/ftpd/logutmp.c
91
(void)lseek(fd, (off_t)topslot * sizeof(struct utmp),
libexec/mail.local/mail.local.c
237
curoff = lseek(mbfd, 0, SEEK_END);
libexec/mail.local/mail.local.c
240
if (lseek(fd, 0, SEEK_SET) == (off_t)-1) {
libexec/rpc.rquotad/rquotad.c
250
if (lseek(fd, (off_t)(id * sizeof(struct dqblk)), SEEK_SET) ==
libexec/rpc.rusersd/rusers_proc.c
114
lseek(fd, 0, SEEK_SET);
libexec/rpc.rusersd/rusers_proc.c
146
lseek(fd, 0, SEEK_SET);
libexec/rpc.rusersd/rusers_proc.c
210
lseek(fd, 0, SEEK_SET);
libexec/rpc.rusersd/rusers_proc.c
274
lseek(fd, 0, SEEK_SET);
regress/lib/libc/stdio/test_fflush.c
204
pos = lseek(fileno(fp), 0, SEEK_CUR);
regress/lib/libc/sys/t_msync.c
92
if (lseek(fd, off, SEEK_SET) != off) {
regress/lib/libc/sys/t_write.c
149
ATF_REQUIRE(lseek(fd, 0, SEEK_CUR) == (off_t)(i + 1));
regress/lib/libc/sys/t_write.c
89
ATF_REQUIRE(lseek(fd, 0, SEEK_SET) == 0);
regress/sys/fileops/fileops.c
117
off_t ret = lseek(fd, offset, whence);
regress/sys/kern/flock/lockf.c
72
if (lseek(fd, len, SEEK_SET) == -1)
regress/sys/kern/flock/lockf.c
86
if (lseek(fd, 0, SEEK_SET) == -1)
regress/sys/kern/pread/pread.c
28
if (lseek(fd, 0, SEEK_SET) != 0)
regress/sys/kern/preadv/preadv.c
31
if (lseek(fd, 0, SEEK_SET) != 0)
regress/sys/kern/pwrite/pwrite.c
31
if (lseek(fd, 5, SEEK_SET) != 5)
regress/sys/kern/pwritev/pwritev.c
34
if (lseek(fd, 5, SEEK_SET) != 5)
regress/sys/uvm/mmap_4g/mmap_4g.c
36
if (lseek(fd, offset, SEEK_SET) != offset)
regress/sys/uvm/mmap_4g/mmap_4g.c
66
if (lseek(fd, offset, SEEK_SET) != offset)
sbin/fdisk/disk.c
130
off = lseek(disk.dk_fd, where, SEEK_SET);
sbin/fdisk/disk.c
171
off = lseek(disk.dk_fd, where, SEEK_SET);
sbin/fsck_msdos/boot.c
131
o = lseek(dosfs, boot->FSInfo * secsize, SEEK_SET);
sbin/fsck_msdos/boot.c
173
o = lseek(dosfs, boot->FSInfo * secsize,
sbin/fsck_msdos/boot.c
197
o = lseek(dosfs, boot->Backup * secsize, SEEK_SET);
sbin/fsck_msdos/boot.c
322
o = lseek(dosfs, boot->FSInfo * secsize, SEEK_SET);
sbin/fsck_msdos/boot.c
343
o = lseek(dosfs, o, SEEK_SET);
sbin/fsck_msdos/boot.c
65
if ((o = lseek(dosfs, 0, SEEK_SET)) == -1) {
sbin/fsck_msdos/dir.c
298
if (lseek(f, off, SEEK_SET) != off
sbin/fsck_msdos/dir.c
307
if (lseek(f, off, SEEK_SET) != off
sbin/fsck_msdos/dir.c
445
if (lseek(f, off, SEEK_SET) != off
sbin/fsck_msdos/dir.c
825
if (lseek(f, off, SEEK_SET) != off
sbin/fsck_msdos/dir.c
939
if (lseek(dosfs, lfoff, SEEK_SET) != lfoff
sbin/fsck_msdos/dir.c
969
if (lseek(dosfs, lfoff, SEEK_SET) != lfoff
sbin/fsck_msdos/fat.c
498
if (lseek(fs, off, SEEK_SET) != off
sbin/fsck_msdos/fat.c
97
if (lseek(fs, off, SEEK_SET) != off) {
sbin/fsirand/fsirand.c
135
if (lseek(devfd, sblockloc, SEEK_SET) == -1) {
sbin/fsirand/fsirand.c
193
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) == -1) {
sbin/fsirand/fsirand.c
247
if (lseek(devfd, SBOFF, SEEK_SET) == -1) {
sbin/fsirand/fsirand.c
264
if (lseek(devfd, (off_t)dblk * bsize,
sbin/fsirand/fsirand.c
280
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) == -1) {
sbin/fsirand/fsirand.c
309
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) == -1) {
sbin/growfs/growfs.c
1384
if (lseek(fsi, (off_t)bno * DEV_BSIZE, SEEK_SET) == -1) {
sbin/growfs/growfs.c
1404
if (lseek(fso, (off_t)bno * DEV_BSIZE, SEEK_SET) == -1)
sbin/newfs_msdos/newfs_msdos.c
565
if (!x && lseek(fd1, 0, SEEK_SET))
sbin/resolvd/resolvd.c
641
lseek(fd2, 0, SEEK_SET);
sbin/restore/dirs.c
462
(void)lseek(dirp->dd_fd, base + (loc & ~(DIRBLKSIZ - 1)), SEEK_SET);
sbin/restore/dirs.c
544
return ((long)lseek(dirp->dd_fd,
sbin/restore/tape.c
769
if (lseek(ofile, (off_t)size, SEEK_CUR) == -1)
sbin/restore/tape.c
919
seek_failed = (lseek(mt, i, SEEK_CUR) == (off_t)-1);
sbin/savecore/savecore.c
464
if (lseek(ifd, dumpoff, SEEK_SET) == -1) {
sbin/scan_ffs/scan_ffs.c
86
if (lseek(fd, (off_t)blk * 512, SEEK_SET) == -1)
sbin/unwind/frontend.c
1517
if (lseek(fd, 0, SEEK_SET) == -1) {
sys/arch/alpha/stand/installboot.c
207
if (lseek(devfd, DEV_BSIZE, SEEK_SET) != DEV_BSIZE)
sys/arch/alpha/stand/installboot.c
213
if (lseek(devfd, 0, SEEK_SET) != 0)
sys/arch/alpha/stand/installboot.c
227
if (lseek(devfd, 0, SEEK_SET) != 0)
sys/arch/arm64/stand/efiboot/efiboot.c
1257
lseek(fd, 0, SEEK_SET);
sys/arch/armv7/stand/efiboot/efiboot.c
1055
lseek(fd, 0, SEEK_SET);
sys/arch/hppa/stand/mkboot/mkboot.c
141
lseek(to, pos, 0);
sys/arch/hppa/stand/mkboot/mkboot.c
167
lseek(to, LIF_VOLSTART, 0);
sys/arch/hppa/stand/mkboot/mkboot.c
170
lseek(to, 0, SEEK_END);
sys/arch/hppa/stand/mkboot/mkboot.c
202
(void) lseek(from, 0, SEEK_SET);
sys/arch/hppa/stand/mkboot/mkboot.c
212
(void) lseek(from, ntohl(elf_header.e_phoff), SEEK_SET);
sys/arch/hppa/stand/mkboot/mkboot.c
237
lseek(to, sizeof(load), SEEK_CUR);
sys/arch/hppa/stand/mkboot/mkboot.c
241
for (lseek(from, 0, 0); ; n = sizeof(buf)) {
sys/arch/hppa/stand/mkboot/mkboot.c
265
lseek(to, -total, SEEK_CUR);
sys/arch/hppa/stand/mkboot/mkboot.c
268
lseek(to, total - sizeof(load), SEEK_CUR);
sys/arch/riscv64/stand/efiboot/efiboot.c
1036
lseek(fd, 0, SEEK_SET);
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
152
(void)lseek(fd, (size_t)phdr.p_offset, SEEK_SET);
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
194
(void)lseek(fd, (off_t)elf->e_shoff, SEEK_SET);
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
203
if (lseek(fd, (off_t)shp[elf->e_shstrndx].sh_offset, SEEK_SET) == -1) {
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
258
(void)lseek(fd, shp->sh_offset, SEEK_SET);
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
96
size = lseek(fd, (size_t)(elf->e_phoff + sizeof(phdr) * i),
sys/dev/microcode/bwi/extract/extract.c
82
if (lseek(fdin, h[i]->fileoffset, SEEK_SET) == -1)
sys/dev/microcode/cyclades/cyzfirm2h.c
90
in_len = lseek(i, 0, SEEK_END);
sys/lib/libsa/loadfile_elf.c
142
if (lseek(fd, (off_t)phdr[i].p_offset, SEEK_SET) == -1) {
sys/lib/libsa/loadfile_elf.c
190
if (lseek(fd, (off_t)elf->e_shoff, SEEK_SET) == -1) {
sys/lib/libsa/loadfile_elf.c
208
if (lseek(fd, (off_t)shp[elf->e_shstrndx].sh_offset, SEEK_SET) == -1) {
sys/lib/libsa/loadfile_elf.c
240
if (lseek(fd, (off_t)shp[i].sh_offset,
sys/lib/libsa/loadfile_elf.c
88
if (lseek(fd, (off_t)elf->e_phoff, SEEK_SET) == -1) {
sys/lib/libsa/readdir.c
59
lseek(fd, 0, SEEK_SET);
sys/lib/libsa/stand.h
173
off_t lseek(int, off_t, int);
sys/sys/types.h
207
off_t lseek(int, off_t, int);
usr.bin/aucat/afile.c
222
if (lseek(f->fd, 0, SEEK_SET) == -1) {
usr.bin/aucat/afile.c
236
if (lseek(f->fd, 0, SEEK_SET) == -1) {
usr.bin/aucat/afile.c
381
if (lseek(f->fd, sizeof(riff) + pos, SEEK_SET) == -1) {
usr.bin/aucat/afile.c
556
if (lseek(f->fd, sizeof(form) + pos, SEEK_SET) == -1) {
usr.bin/aucat/afile.c
665
if (lseek(f->fd, f->startpos, SEEK_SET) == -1) {
usr.bin/aucat/afile.c
778
if (lseek(f->fd, pos, SEEK_SET) == -1) {
usr.bin/cdio/mmc.c
477
if (lseek(tr->fd, tr->off, SEEK_SET) == -1)
usr.bin/cvs/buf.c
106
if (lseek(fd, 0, SEEK_SET) == -1)
usr.bin/cvs/buf.c
262
if (lseek(fd, 0, SEEK_SET) == -1)
usr.bin/cvs/diff3.c
210
if (lseek(fds[2], 0, SEEK_SET) == -1)
usr.bin/cvs/diff3.c
212
if (lseek(fds[3], 0, SEEK_SET) == -1)
usr.bin/cvs/diff3.c
214
if (lseek(fds[4], 0, SEEK_SET) == -1)
usr.bin/cvs/diff_internals.c
332
if (lseek(fd1, 0, SEEK_SET) == -1)
usr.bin/cvs/diff_internals.c
341
if (lseek(fd2, 0, SEEK_SET) == -1)
usr.bin/cvs/rcs.c
2172
if (lseek(fd, 0, SEEK_SET) == -1)
usr.bin/cvs/remote.c
180
if (lseek(fd, 0, SEEK_SET) == -1)
usr.bin/cvs/update.c
271
if (lseek(cf->fd, 0, SEEK_SET) == -1)
usr.bin/diff/diffreg.c
477
lseek(ofd, (off_t)0, SEEK_SET);
usr.bin/ftp/ftp.c
1054
lseek(fileno(fout), restart_point, SEEK_SET) == -1) {
usr.bin/ftp/ftp.c
693
if (lseek(fileno(fin), restart_point, SEEK_SET) != -1)
usr.bin/grep/file.c
118
f->noseek = lseek(fd, 0L, SEEK_SET) == -1;
usr.bin/last/last.c
271
if (lseek(wfd, bl * sizeof(buf), SEEK_SET) == -1 ||
usr.bin/lastcomm/lastcomm.c
105
if (lseek(fileno(fp), size, SEEK_SET) == -1)
usr.bin/less/ch.c
229
if (lseek(ch_file, (off_t)pos, SEEK_SET) == (off_t)-1) {
usr.bin/less/ch.c
646
if (lseek(ch_file, (off_t)0, SEEK_SET) == (off_t)-1) {
usr.bin/less/ch.c
719
return (lseek(f, (off_t)1, SEEK_SET) != (off_t)-1);
usr.bin/less/decode.c
658
if (lseek(f, (off_t)0, SEEK_SET) == (off_t)-1) {
usr.bin/less/edit.c
650
if (lseek(logfile, (off_t)0, SEEK_END) == (off_t)-1) {
usr.bin/less/filename.c
360
if (lseek(f, (off_t)0, SEEK_SET) == (off_t)-1)
usr.bin/login/failedlogin.c
129
(void)lseek(fd, (off_t)uid * sizeof(failedlogin),
usr.bin/login/failedlogin.c
59
(void)lseek(fd, (off_t)uid * sizeof(failedlogin), SEEK_SET);
usr.bin/login/failedlogin.c
66
(void)lseek(fd, (off_t)uid * sizeof(failedlogin), SEEK_SET);
usr.bin/login/failedlogin.c
99
(void)lseek(fd, (off_t)uid * sizeof(failedlogin), SEEK_SET);
usr.bin/mail/fio.c
289
(void)lseek(fileno(f), (off_t)sizeof(*message), SEEK_SET);
usr.bin/make/engine.c
230
(void)lseek(fd, 0, SEEK_SET);
usr.bin/nohup/nohup.c
126
(void)lseek(fd, (off_t)0, SEEK_END);
usr.bin/patch/inp.c
396
if (lseek(tifd, (off_t) (baseline / lines_per_buf *
usr.bin/quota/quota.c
540
(void)lseek(fd, (off_t)(id * sizeof(struct dqblk)), SEEK_SET);
usr.bin/rsync/copy.c
52
if (lseek(tofd, r, SEEK_CUR) == -1)
usr.bin/rsync/copy.c
62
if (ftruncate(tofd, lseek(tofd, 0, SEEK_CUR)) == -1)
usr.bin/signify/zsig.c
258
if (lseek(fdin, h.headerlength, SEEK_SET) == -1)
usr.bin/signify/zsig.c
305
if (lseek(fdin, h.headerlength, SEEK_SET) == -1)
usr.bin/ssh/sftp-client.c
1728
if ((lseek(local_fd, req->offset, SEEK_SET) == -1 ||
usr.bin/ssh/sftp-client.c
2062
if (lseek(local_fd, (off_t)c.size, SEEK_SET) == -1) {
usr.bin/ssh/sftp-server.c
1616
if (lseek(read_fd, read_off, SEEK_SET) < 0) {
usr.bin/ssh/sftp-server.c
1623
lseek(write_fd, write_off, SEEK_SET) < 0) {
usr.bin/ssh/sftp-server.c
816
if (lseek(fd, off, SEEK_SET) == -1) {
usr.bin/ssh/sftp-server.c
864
lseek(fd, off, SEEK_SET) == -1) {
usr.bin/ssh/sshlogin.c
183
lseek(fd, (off_t)uid * sizeof(ll), SEEK_SET);
usr.bin/ssh/sshlogin.c
89
r = lseek(fd, pos, SEEK_SET);
usr.bin/systat/main.c
204
lseek(ut, (off_t)0, SEEK_SET);
usr.bin/tail/tail.c
184
if (lseek(fileno(tf[0].fp), (off_t)0, SEEK_CUR) == -1 &&
usr.bin/vi/common/recover.c
783
(void)lseek(fd, (off_t)((p - buf) + 1), SEEK_SET);
usr.bin/vi/common/recover.c
851
if (lseek(fd, 0, SEEK_SET) == -1) {
usr.bin/vi/ex/ex_filter.c
110
if (lseek(input[0], 0, SEEK_SET) == -1) {
usr.bin/xinstall/xinstall.c
413
if (lseek(from_fd, (off_t)0, SEEK_SET) == (off_t)-1)
usr.bin/xinstall/xinstall.c
415
if (lseek(to_fd, (off_t)0, SEEK_SET) == (off_t)-1)
usr.bin/xinstall/xinstall.c
736
if (lseek(fd, (off_t)wcnt, SEEK_CUR) == -1) {
usr.bin/xinstall/xinstall.c
782
if (lseek(fd, (off_t)-1, SEEK_CUR) == -1) {
usr.sbin/acpidump/acpidump.c
280
lseek(acpi_mem_fd, pa, SEEK_SET);
usr.sbin/config/exec_elf.c
109
elf_size = lseek(fd, (off_t)0, SEEK_END);
usr.sbin/config/exec_elf.c
110
(void)lseek(fd, (off_t)0, SEEK_SET);
usr.sbin/cron/atrun.c
458
if (lseek(fd, 0, SEEK_SET) == -1) {
usr.sbin/crunchgen/mangle.c
99
lseek(key_fd, 0, SEEK_SET);
usr.sbin/edquota/edquota.c
282
lseek(fd, (off_t)(id * sizeof(struct dqblk)), SEEK_SET);
usr.sbin/edquota/edquota.c
333
lseek(fd, (off_t)(id * sizeof (struct dqblk)), SEEK_SET);
usr.sbin/edquota/edquota.c
404
lseek(outfd, 0, SEEK_SET);
usr.sbin/edquota/edquota.c
435
lseek(infd, 0, SEEK_SET);
usr.sbin/edquota/edquota.c
541
lseek(outfd, 0, SEEK_SET);
usr.sbin/edquota/edquota.c
573
lseek(infd, 0, SEEK_SET);
usr.sbin/fdformat/fdformat.c
121
if (lseek (fd, (off_t) track*tracksize, SEEK_SET) == -1)
usr.sbin/httpd/server_http.c
737
if (lseek(clt->clt_fd, range->start, SEEK_SET) == -1)
usr.sbin/ldapd/btree.c
1010
if ((size = lseek(bt->fd, 0, SEEK_END)) == -1)
usr.sbin/ldapd/btree.c
768
size = lseek(bt->fd, 0, SEEK_END);
usr.sbin/ldapd/btree.c
961
if ((bt->size = lseek(bt->fd, 0, SEEK_END)) == -1) {
usr.sbin/lpd/engine_lpr.c
402
if (lseek(fd, 0, SEEK_SET) == -1)
usr.sbin/lpd/engine_lpr.c
451
if (lseek(fd, 0, SEEK_SET) == -1)
usr.sbin/lpd/printer.c
714
if (lseek(efd, 0, SEEK_SET) == -1)
usr.sbin/lpr/lpd/printjob.c
232
(void)lseek(lfd, pidoff, SEEK_SET);
usr.sbin/lpr/lpr/lpr.c
368
lseek(tfd, (off_t)0, SEEK_SET) == 0 &&
usr.sbin/lpr/lpr/lpr.c
690
(void)lseek(fd, (off_t)0, SEEK_SET);
usr.sbin/makefs/ffs.c
499
if (lseek(fsopts->fd, fsopts->offset, SEEK_SET) == -1) {
usr.sbin/makefs/ffs/buf.c
120
if (lseek(bp->b_fs->fd, offset, SEEK_SET) == -1)
usr.sbin/makefs/ffs/buf.c
65
if (lseek((*bpp)->b_fs->fd, offset, SEEK_SET) == -1)
usr.sbin/makefs/ffs/mkfs.c
755
if (lseek(fsopts->fd, offset, SEEK_SET) < 0)
usr.sbin/makefs/ffs/mkfs.c
778
if (lseek(fsopts->fd, offset, SEEK_SET) == -1)
usr.sbin/makefs/msdos/mkfs_msdos.c
263
(void)lseek(fd, o.create_size - 1, SEEK_SET);
usr.sbin/makefs/msdos/mkfs_msdos.c
268
(void)lseek(fd, 0, SEEK_SET);
usr.sbin/makefs/msdos/mkfs_msdos.c
278
if (o.offset && o.offset != lseek(fd, o.offset, SEEK_SET)) {
usr.sbin/makefs/msdos/mkfs_msdos.c
612
if (!x && lseek(fd1, o.offset, SEEK_SET)) {
usr.sbin/mksuncd/mksuncd.c
131
if (lseek(f, 0, SEEK_END) == -1)
usr.sbin/mksuncd/mksuncd.c
158
if (lseek(f, 0, SEEK_END) == -1)
usr.sbin/mksuncd/mksuncd.c
180
if (lseek(f, 0, SEEK_SET) == -1)
usr.sbin/mksuncd/mksuncd.c
281
if (lseek(f, 0, SEEK_SET) == -1)
usr.sbin/mkuboot/copy_elf.c
133
if (lseek(ifd, elfoff2h(ehdr.e_phoff) + i *
usr.sbin/mkuboot/copy_elf.c
191
if (lseek(ifd, elfoff2h(phdr.p_offset),
usr.sbin/mkuboot/copy_elf.c
200
if (lseek(ifd, elfoff2h(phdr.p_offset) +
usr.sbin/mkuboot/copy_elf.c
209
if (lseek(ifd, elfoff2h(phdr.p_offset),
usr.sbin/mkuboot/copy_elf.c
269
if (lseek(ifd, elfoff2h(shp[i].sh_offset), SEEK_SET)
usr.sbin/mkuboot/copy_elf.c
68
if (lseek(ifd, (off_t)elfoff2h(elf.e_shoff), SEEK_SET) == -1)
usr.sbin/mkuboot/copy_elf.c
84
if (lseek(ifd, elfoff2h(ehdr.e_phoff) + i *
usr.sbin/mkuboot/mkuboot.c
275
if (lseek(ofd, 0, SEEK_SET) != 0)
usr.sbin/mkuboot/mkuboot.c
292
if (lseek(ifd, 0, SEEK_SET) != 0)
usr.sbin/mopd/common/common.h
86
off_t lseek; /* Seek before last read */
usr.sbin/mopd/common/file.c
1188
if (lseek(dlslot->ldfd,
usr.sbin/mopd/common/file.c
203
(void)lseek(fd, (off_t) 0, SEEK_SET);
usr.sbin/mopd/common/file.c
475
(void)lseek(fd, (off_t) 0, SEEK_SET);
usr.sbin/mopd/common/file.c
507
(void)lseek(dl->ldfd, (off_t) 0, SEEK_SET);
usr.sbin/mopd/common/file.c
571
if (lseek(dl->ldfd, (off_t) e_phoff + (i * e_phentsize),
usr.sbin/mopd/common/file.c
698
(void)lseek(dl->ldfd, (off_t) 0, SEEK_SET);
usr.sbin/mopd/common/file.c
762
if (lseek(dl->ldfd, (off_t) e_phoff + (i * e_phentsize),
usr.sbin/mopd/common/file.c
893
(void)lseek(fd, (off_t) 0, SEEK_SET);
usr.sbin/mopd/common/file.c
898
(void)lseek(fd, (off_t) 0, SEEK_SET);
usr.sbin/mopd/common/file.c
927
(void)lseek(dl->ldfd, (off_t) 0, SEEK_SET);
usr.sbin/mopd/common/loop-bsd.c
138
if (errno == EINVAL && (lseek(ii->fd, 0,
usr.sbin/mopd/common/loop-bsd.c
140
lseek(ii->fd, 0, SEEK_SET);
usr.sbin/mopd/mopa.out/mopa.out.c
157
dl.lseek = lseek(dl.ldfd,0L,SEEK_CUR);
usr.sbin/mopd/mopd/process.c
191
dllist[slot].lseek = lseek(dllist[slot].ldfd, 0L, SEEK_CUR);
usr.sbin/mopd/mopd/process.c
272
dllist[slot].lseek = lseek(dllist[slot].ldfd, 0L, SEEK_CUR);
usr.sbin/nsd/server.c
603
if(lseek(nsd->zonestatfd[0], (off_t)sz-1, SEEK_SET) == -1) {
usr.sbin/nsd/server.c
613
if(lseek(nsd->zonestatfd[1], (off_t)sz-1, SEEK_SET) == -1) {
usr.sbin/nsd/server.c
692
if(lseek(nsd->zonestatfd[idx], (off_t)sz-1, SEEK_SET) == -1) {
usr.sbin/nsd/server.c
754
if(lseek(nsd->statfd, (off_t)sz-1, SEEK_SET) == -1) {
usr.sbin/nsd/udb.c
153
fsz = (uint64_t)lseek(fd, (off_t)0, SEEK_END);
usr.sbin/nsd/udb.c
154
(void)lseek(fd, (off_t)0, SEEK_SET);
usr.sbin/nsd/udb.c
283
if(lseek(fd, (off_t)0, SEEK_SET) == (off_t)-1) {
usr.sbin/nsd/udb.c
593
if(lseek(udb->fd, (off_t)(nsize-1), SEEK_SET) == -1) {
usr.sbin/nsd/udb.c
674
realsize = lseek(udb->fd, (off_t)0, SEEK_END);
usr.sbin/quot/quot.c
115
if (lseek(fd, (off_t)ino_to_fsba(super, last)
usr.sbin/quot/quot.c
509
if (lseek(fd, sblock_try[i], 0) != sblock_try[i]) {
usr.sbin/rbootd/rmpproto.c
447
if (lseek(oldconn->bootfd, (off_t)size, SEEK_SET) == -1) {
usr.sbin/rdate/ntpleaps.c
166
lseek(fd, (off_t)m3, SEEK_CUR);
usr.sbin/rmt/rmt.c
213
orval = lseek(tape, strtoll(count, NULL, 0), atoi(pos));
usr.sbin/smtpd/mda.c
515
if (lseek(fd, 0, SEEK_SET) == -1) {
usr.sbin/smtpd/queue_backend.c
320
lseek(fdin, SEEK_SET, 0);
usr.sbin/smtpd/queue_backend.c
342
lseek(fdin, SEEK_SET, 0);
usr.sbin/smtpd/queue_ram.c
184
lseek(fd, 0, SEEK_SET);
usr.sbin/smtpd/smtpctl.c
1318
lseek(fileno(fp), 0, SEEK_SET);
usr.sbin/smtpd/smtpd.c
1729
if (lseek(fileno(fp), len, SEEK_SET) == -1)
usr.sbin/vmd/vioraw.c
73
sz = lseek(fd[0], 0, SEEK_END);