bin/ed/buf.c
59
if (fseeko(sfp, sfseek, SEEK_SET) < 0) {
bin/pax/ar_io.c
829
if (lseek(arfd, mpos, SEEK_SET) >= 0)
bin/pax/ar_io.c
910
if (lseek(arfd, cpos, SEEK_SET) < 0) {
bin/pax/file_subs.c
962
else if (lseek(fd, (off_t)0L, SEEK_SET) < 0)
bin/pax/tables.c
1180
if (lseek(dirfd, dblk.npos, SEEK_SET) < 0)
bin/pax/tables.c
1184
if (lseek(dirfd, dblk.npos, SEEK_SET) < 0)
bin/pax/tables.c
393
if (lseek(ffd,pt->seek,SEEK_SET) != pt->seek) {
bin/rm/rm.c
468
if (fsync(fd) || lseek(fd, (off_t)0, SEEK_SET))
bin/rm/rm.c
471
if (fsync(fd) || lseek(fd, (off_t)0, SEEK_SET))
crypto/openssh/loginrec.c
1511
if (lseek(*fd, offset, SEEK_SET) != offset) {
crypto/openssh/loginrec.c
877
if ((ret = lseek(fd, pos, SEEK_SET)) == -1) {
crypto/openssh/loginrec.c
899
if ((ret = lseek(fd, pos, SEEK_SET)) == -1) {
crypto/openssh/moduli.c
506
if (fseek(f, 0, SEEK_SET) != 0) {
crypto/openssh/sftp-client.c
1752
if ((lseek(local_fd, req->offset, SEEK_SET) == -1 ||
crypto/openssh/sftp-client.c
2090
if (lseek(local_fd, (off_t)c.size, SEEK_SET) == -1) {
crypto/openssh/sftp-server.c
1649
if (lseek(read_fd, read_off, SEEK_SET) < 0) {
crypto/openssh/sftp-server.c
1656
lseek(write_fd, write_off, SEEK_SET) < 0) {
crypto/openssh/sftp-server.c
826
if (lseek(fd, off, SEEK_SET) == -1) {
crypto/openssh/sftp-server.c
874
lseek(fd, off, SEEK_SET) == -1) {
games/boggle/boggle/bog.c
467
if (dictseek(dictfp, dictindex[j].start, SEEK_SET) < 0) {
games/boggle/boggle/bog.c
506
dictseek(dictfp, 0L, SEEK_SET);
games/boggle/boggle/bog.c
533
dictindex[i].start, SEEK_SET) < 0) {
games/canfield/canfield/canfield.c
1383
lseek(dbfd, uid * sizeof(struct betinfo), SEEK_SET);
games/canfield/canfield/canfield.c
1640
i = lseek(dbfd, uid * sizeof(struct betinfo), SEEK_SET);
games/canfield/canfield/canfield.c
1703
lseek(dbfd, uid * sizeof(struct betinfo), SEEK_SET);
games/canfield/cfscores/cfscores.c
108
i = lseek(dbfd, pw->pw_uid * sizeof(struct betinfo), SEEK_SET);
games/fortune/fortune/fortune.c
216
fseeko(fp->inf, Seekpts[0], SEEK_SET);
games/fortune/fortune/fortune.c
251
fseeko(Fortfile->inf, Seekpts[0], SEEK_SET);
games/fortune/fortune/fortune.c
995
(off_t) (sizeof fp->tbl + fp->pos * sizeof Seekpts[0]), SEEK_SET);
games/hack/hack.save.c
199
(void) lseek(fd, (off_t) 0, SEEK_SET);
games/hangman/getsym.c
117
if (lseek(symfd, 0, SEEK_SET) == -1)
games/hangman/getsym.c
126
if (lseek(symfd, eh.e_shoff, SEEK_SET) == -1)
games/hangman/getsym.c
46
if (lseek(symfd, pos + symoffs, SEEK_SET) == -1)
games/hangman/getword.c
58
fseek(inf, pos, SEEK_SET);
games/phantasia/fight.c
916
fseek(Monstfp, (long)which * (long)SZ_MONSTERSTRUCT, SEEK_SET);
games/phantasia/fight.c
947
fseek(Monstfp, (long)which * (long)SZ_MONSTERSTRUCT, SEEK_SET);
games/phantasia/gamesupport.c
475
fseek(Monstfp, 0L, SEEK_SET);
games/phantasia/gamesupport.c
516
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/gamesupport.c
548
fseek(Playersfp, loc, SEEK_SET);
games/phantasia/gamesupport.c
612
fseek(fp, loc, SEEK_SET);
games/phantasia/interplayer.c
36
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
409
fseek(Energyvoidfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
569
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
623
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
699
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
731
fseek(Energyvoidfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
817
fseek(fp, 0L, SEEK_SET);
games/phantasia/interplayer.c
865
fseek(Energyvoidfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
973
fseek(Energyvoidfp, loc, SEEK_SET);
games/phantasia/interplayer.c
976
fseek(Energyvoidfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
997
fseek(Energyvoidfp, 0L, SEEK_SET);
games/phantasia/main.c
672
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/main.c
688
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/main.c
699
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/main.c
719
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/misc.c
1129
fseek(Messagefp, 0L, SEEK_SET);
games/phantasia/misc.c
1314
fseek(fp, 0L, SEEK_SET);
games/phantasia/misc.c
589
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/misc.c
621
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/misc.c
756
fseek(Monstfp, 13L * SZ_MONSTERSTRUCT, SEEK_SET);
games/phantasia/misc.c
759
fseek(Monstfp, 13L * SZ_MONSTERSTRUCT, SEEK_SET);
games/phantasia/misc.c
815
fseek(Playersfp, place, SEEK_SET);
games/phantasia/misc.c
942
fseek(Playersfp, loc, SEEK_SET);
games/robots/score.c
131
lseek(inf, 0L, SEEK_SET);
games/sail/sync.c
355
fseek(sync_fp, sync_seek, SEEK_SET);
games/snake/snake/snake.c
523
lseek(rawscores, ((off_t)uid)*sizeof(short), SEEK_SET);
games/snake/snake/snake.c
526
lseek(rawscores, 0, SEEK_SET);
games/snake/snake/snake.c
532
lseek(rawscores, ((off_t)uid)*sizeof(short), SEEK_SET);
games/snake/snake/snake.c
541
lseek(rawscores, 0, SEEK_SET);
games/snake/snake/snake.c
559
lseek(rawscores, 0, SEEK_SET);
games/tetris/scores.c
196
if (fseek(sf, 0L, SEEK_SET) == -1)
include/stdio.h
184
#ifndef SEEK_SET
lib/libc/citrus/citrus_db.c
129
if (_citrus_memory_stream_seek(&ms, offset, SEEK_SET))
lib/libc/citrus/citrus_db.c
154
SEEK_SET))
lib/libc/citrus/citrus_db.c
166
SEEK_SET))
lib/libc/citrus/citrus_db.c
311
if (_citrus_memory_stream_seek(&ms, offset, SEEK_SET))
lib/libc/citrus/citrus_db.c
318
if (_memstream_seek(&ms, be32toh(dex->dex_key_offset), SEEK_SET))
lib/libc/citrus/citrus_db.c
324
if (_memstream_seek(&ms, be32toh(dex->dex_data_offset), SEEK_SET))
lib/libc/citrus/citrus_db.c
72
if (_memstream_seek(&ms, be32toh(dhx->dhx_entry_offset), SEEK_SET))
lib/libc/citrus/citrus_memstream.h
110
case SEEK_SET:
lib/libc/db/recno/rec_close.c
132
if (lseek(t->bt_rfd, (off_t)0, SEEK_SET) != 0)
lib/libc/gen/getcap.c
241
lseek(fd, (off_t)0, SEEK_SET);
lib/libc/gen/getgrent.c
1458
fseeko(st->fp, pos, SEEK_SET);
lib/libc/gen/getgrent.c
904
fseeko(st->fp, pos, SEEK_SET);
lib/libc/gen/nlist.c
245
if (lseek(fd, (off_t)0, SEEK_SET) == -1 ||
lib/libc/gen/nlist.c
328
if (lseek(fd, (off_t) symoff, SEEK_SET) == -1) {
lib/libc/gen/telldir.c
135
lseek(dirp->dd_fd, lp->loc_seek, SEEK_SET);
lib/libc/gen/utmpx.c
146
(void)fseeko(fp, (off_t)sizeof(ut), SEEK_SET);
lib/libc/stdio/fmemopen.c
106
case SEEK_SET:
lib/libc/stdio/fopencookie.c
124
case SEEK_SET:
lib/libc/stdio/freopen.c
113
_sseek(fp, (fpos_t)0, SEEK_SET);
lib/libc/stdio/fseek.c
139
whence = SEEK_SET;
lib/libc/stdio/fseek.c
143
case SEEK_SET:
lib/libc/stdio/fseek.c
185
if (whence == SEEK_SET)
lib/libc/stdio/fseek.c
259
if (_sseek(fp, curoff, SEEK_SET) == POS_ERR)
lib/libc/stdio/fsetpos.c
46
return (fseeko(iop, (off_t)*pos, SEEK_SET));
lib/libc/stdio/open_memstream.c
119
case SEEK_SET:
lib/libc/stdio/open_wmemstream.c
177
case SEEK_SET:
lib/libc/stdio/rewind.c
54
if (_fseeko(fp, (off_t)0, SEEK_SET, 1) == 0) {
lib/libevtr/evtr.c
1313
if (fseek(evtr->f, 0, SEEK_SET)) {
lib/libfetch/file.c
61
if (u->offset && fseeko(f, u->offset, SEEK_SET) == -1) {
lib/libfetch/file.c
91
if (u->offset && fseeko(f, u->offset, SEEK_SET) == -1) {
lib/libfsid/libfsid.c
139
if ((lseek(fd, off, SEEK_SET)) < 0) {
lib/libtcplay/io.c
342
if ((lseek(fd, offset, (offset >= 0) ? SEEK_SET : SEEK_END) < 0)) {
lib/libtcplay/io.c
68
if ((lseek(fd, offset, (offset >= 0) ? SEEK_SET : SEEK_END) < 0)) {
lib/libutil/uucplock.c
139
lseek(fd, (off_t)0, SEEK_SET);
lib/libz/zconf.h
512
#if !defined(SEEK_SET) && !defined(Z_SOLO)
libexec/atrun/atrun.c
275
if (lseek(fd_in, (off_t) 0, SEEK_SET) < 0)
libexec/diff3prog/diff3prog.c
557
(void)fseek(fp[2], (long)de[n].new.from, SEEK_SET);
libexec/dma/local.c
196
if (fseek(it->mailf, 0, SEEK_SET) != 0) {
libexec/dma/mail.c
110
if (fseek(it->mailf, 0, SEEK_SET) != 0)
libexec/dma/net.c
472
if (fseek(it->mailf, 0, SEEK_SET) != 0) {
libexec/rbootd/rmpproto.c
445
if (lseek(oldconn->bootfd, (off_t)size, SEEK_SET) < 0) {
libexec/rtld-elf/rtld.c
1720
if (lseek(fd, hdr.strtab + hdr.dirlist, SEEK_SET) == -1 ||
sbin/badsect/badsect.c
199
if (lseek(fsi, (off_t)bno * dev_bsize, SEEK_SET) < 0) {
sbin/clri/clri.c
101
if (lseek(fd, offset, SEEK_SET) < 0)
sbin/clri/clri.c
77
if (lseek(fd, (off_t)SBOFF, SEEK_SET) < 0)
sbin/dhclient/dhclient.c
1924
lseek(fd, 0L, SEEK_SET);
sbin/dhclient/dhclient.c
2324
lseek(fd, 0L, SEEK_SET);
sbin/disklabel32/disklabel.c
1639
lseek(f, (off_t)0, SEEK_SET);
sbin/disklabel32/disklabel.c
400
lseek(f, (off_t)0, SEEK_SET);
sbin/disklabel64/disklabel64.c
427
lseek(f, (off_t)0, SEEK_SET);
sbin/dumpfs/dumpfs.c
114
if (lseek(fd, (off_t)SBOFF, SEEK_SET) == (off_t)-1)
sbin/dumpfs/dumpfs.c
213
(off_t)dev_bsize, SEEK_SET) == (off_t)-1)
sbin/dumpfs/dumpfs.c
254
(off_t)dev_bsize, SEEK_SET)) == (off_t)-1)
sbin/dumpfs/dumpfs.c
321
if (lseek(fd, (off_t)SBOFF, SEEK_SET) == (off_t)-1)
sbin/fsck_hammer2/destroy.c
141
if (lseek(fd, io_base - hammer2_get_volume_offset(io_base), SEEK_SET)
sbin/fsck_hammer2/destroy.c
189
if (lseek(fd, io_base - hammer2_get_volume_offset(io_base), SEEK_SET)
sbin/fsck_hammer2/destroy.c
200
if (lseek(fd, io_base - hammer2_get_volume_offset(io_base), SEEK_SET)
sbin/fsck_hammer2/destroy.c
86
off - hammer2_get_root_volume_offset(), SEEK_SET) == -1) {
sbin/fsck_hammer2/reconstruct.c
122
off - hammer2_get_root_volume_offset(), SEEK_SET) == -1) {
sbin/fsck_hammer2/reconstruct.c
205
if (lseek(fd, off - hammer2_get_root_volume_offset(), SEEK_SET)
sbin/fsck_hammer2/reconstruct.c
258
if (lseek(fd, io_base - hammer2_get_volume_offset(io_base), SEEK_SET)
sbin/fsck_hammer2/reconstruct.c
306
if (lseek(fd, io_base - hammer2_get_volume_offset(io_base), SEEK_SET)
sbin/fsck_hammer2/reconstruct.c
317
if (lseek(fd, io_base - hammer2_get_volume_offset(io_base), SEEK_SET)
sbin/fsck_hammer2/reconstruct.c
81
off - hammer2_get_root_volume_offset(), SEEK_SET) == -1) {
sbin/fsck_hammer2/test.c
211
off - hammer2_get_root_volume_offset(), SEEK_SET);
sbin/fsck_hammer2/test.c
731
if (lseek(fd, io_base - hammer2_get_volume_offset(io_base), SEEK_SET)
sbin/fsck_msdosfs/boot.c
195
SEEK_SET) != boot->bpbFSInfo * boot->bpbBytesPerSec
sbin/fsck_msdosfs/boot.c
221
boot->bpbBytesPerSec, SEEK_SET)
sbin/fsck_msdosfs/boot.c
335
if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, SEEK_SET)
sbin/fsck_msdosfs/boot.c
349
if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, SEEK_SET)
sbin/fsck_msdosfs/dir.c
1010
if (lseek(fd, off, SEEK_SET) != off
sbin/fsck_msdosfs/dir.c
1030
if (lseek(fd, off, SEEK_SET) != off
sbin/fsck_msdosfs/dir.c
1131
if (lseek(dosfs, lfoff, SEEK_SET) != lfoff
sbin/fsck_msdosfs/dir.c
1161
if (lseek(dosfs, lfoff, SEEK_SET) != lfoff
sbin/fsck_msdosfs/dir.c
315
if (lseek(fd, off, SEEK_SET) != off) {
sbin/fsck_msdosfs/dir.c
327
if (lseek(fd, off, SEEK_SET) != off) {
sbin/fsck_msdosfs/dir.c
508
if (lseek(fd, off, SEEK_SET) != off ||
sbin/fsck_msdosfs/dir.c
608
if (lseek(fd, off, SEEK_SET) != off ||
sbin/fsck_msdosfs/fat.c
1079
if ((lseek(fd, src_off, SEEK_SET) != src_off ||
sbin/fsck_msdosfs/fat.c
1086
if ((lseek(fd, dst_off, SEEK_SET) != dst_off ||
sbin/fsck_msdosfs/fat.c
1141
if ((lseek(fd, dst_base, SEEK_SET) != dst_base ||
sbin/fsck_msdosfs/fat.c
367
if (lseek(fd, fat_addr, SEEK_SET) != fat_addr ||
sbin/fsck_msdosfs/fat.c
421
if (lseek(fd, fat_addr, SEEK_SET) != fat_addr ||
sbin/fsck_msdosfs/fat.c
662
if (lseek(fd, off, SEEK_SET) != off) {
sbin/fsirand/fsirand.c
135
if (lseek(devfd, SBOFF, SEEK_SET) == -1) {
sbin/fsirand/fsirand.c
168
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
sbin/fsirand/fsirand.c
212
if (lseek(devfd, SBOFF, SEEK_SET) == -1) {
sbin/fsirand/fsirand.c
229
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
sbin/fsirand/fsirand.c
243
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
sbin/fsirand/fsirand.c
266
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
sbin/gpt/gpt.c
336
if (lseek(fd, ofs, SEEK_SET) != ofs) {
sbin/gpt/gpt.c
359
if (lseek(fd, ofs, SEEK_SET) == ofs &&
sbin/growfs/growfs.c
1572
if (lseek(fso, (off_t)bno * DEV_BSIZE, SEEK_SET) < 0) {
sbin/hammer/cmd_recover.c
499
lseek(fd, (off_t)file_offset, SEEK_SET);
sbin/hammer2/cmd_debug.c
502
lseek(fd, off, SEEK_SET);
sbin/hammer2/cmd_debug.c
528
lseek(fd, off, SEEK_SET);
sbin/hammer2/cmd_debug.c
822
SEEK_SET);
sbin/hammer2/cmd_info.c
357
lseek(fd, broot.data_off & ~HAMMER2_OFF_MASK_RADIX, SEEK_SET);
sbin/hammer2/cmd_info.c
413
lseek(fd, io_base, SEEK_SET);
sbin/hammer2/ondisk.c
117
if (lseek(fd, i * HAMMER2_ZONE_BYTES64, SEEK_SET) == -1)
sbin/jscan/jfile.c
306
jf->jf_pos = lseek(jf->jf_fd, 0L, SEEK_SET);
sbin/jscan/jfile.c
336
jf->jf_pos = lseek(jf->jf_fd, 0L, SEEK_SET);
sbin/newfs/mkfs.c
1244
if (lseek(fso, (off_t)wc_sect * sectorsize, SEEK_SET) < 0) {
sbin/newfs/mkfs.c
1306
if (lseek(fso, (off_t)bno * sectorsize, SEEK_SET) < 0) {
sbin/newfs_msdos/mkfs_msdos.c
305
if (o.offset && o.offset != lseek(fd, o.offset, SEEK_SET)) {
sbin/newfs_msdos/mkfs_msdos.c
654
if (!x && lseek(fd1, o.offset, SEEK_SET)) {
sbin/quotacheck/quotacheck.c
369
if (fseek(qfo, (long)offset, SEEK_SET) < 0) {
sbin/quotacheck/quotacheck.c
586
if (lseek(fi, (off_t)bno * dev_bsize, SEEK_SET) < 0 ||
sbin/restore/dirs.c
458
lseek(dirpl->dd_fd, base + rounddown2(loc, DIRBLKSIZ), SEEK_SET);
sbin/savecore/savecore.c
275
lseek(fd, lasthd, SEEK_SET);
sbin/savecore/savecore.c
327
lseek(fd, firsthd, SEEK_SET);
sbin/savecore/savecore.c
551
lseek(fd, lasthd, SEEK_SET);
sbin/tunefs/tunefs.c
365
if (lseek(fi, (off_t)blk * dev_bsize, SEEK_SET) < 0)
sbin/tunefs/tunefs.c
376
if (lseek(fi, (off_t)bno * dev_bsize, SEEK_SET) < 0)
sbin/vinum/list.c
1380
if (lseek(fd, VINUM_LABEL_OFFSET, SEEK_SET) < 0) {
stand/boot/common/load_elf.c
435
if (lseek(ef->fd, (off_t)shdr[i].sh_offset, SEEK_SET) == -1) {
stand/boot/common/misc.c
123
if (lseek(fd, off, SEEK_SET) == -1) {
stand/boot/common/misc.c
150
if (lseek(fd, off, SEEK_SET) == -1) {
stand/boot/pc32/btxld/btxld.c
447
if (offset != -1 && lseek(fd, offset, SEEK_SET) != offset)
stand/boot/pc32/btxld/btxld.c
474
if (lseek(fd, offset, SEEK_SET) != offset)
stand/lib/bzipfs.c
260
case SEEK_SET:
stand/lib/cd9660.c
569
case SEEK_SET:
stand/lib/dosfs.c
310
case SEEK_SET:
stand/lib/ext2fs.c
845
case SEEK_SET:
stand/lib/gzipfs.c
295
case SEEK_SET:
stand/lib/hammer1.c
1009
case SEEK_SET:
stand/lib/hammer2.c
898
case SEEK_SET:
stand/lib/lseek.c
110
case SEEK_SET:
stand/lib/lseek.c
83
case SEEK_SET:
stand/lib/nfs.c
654
case SEEK_SET:
stand/lib/splitfs.c
230
case SEEK_SET:
stand/lib/tftp.c
431
case SEEK_SET:
stand/lib/ufs.c
663
case SEEK_SET:
sys/dev/drm/linux_dma-buf.c
90
case SEEK_SET:
sys/kern/kern_descrip.c
2641
lf.l_whence = SEEK_SET;
sys/kern/kern_descrip.c
3055
lf.l_whence = SEEK_SET;
sys/kern/kern_descrip.c
3077
lf.l_whence = SEEK_SET;
sys/kern/kern_descrip.c
3173
lf.l_whence = SEEK_SET;
sys/kern/kern_descrip.c
3212
lf.l_whence = SEEK_SET;
sys/kern/kern_descrip.c
878
dat->fc_flock.l_whence = SEEK_SET;
sys/kern/kern_lockf.c
207
case SEEK_SET:
sys/kern/kern_lockf.c
785
fl->l_whence = SEEK_SET;
sys/kern/kern_sig.c
2579
lf.l_whence = SEEK_SET;
sys/kern/vfs_syscalls.c
2246
lf.l_whence = SEEK_SET;
sys/kern/vfs_syscalls.c
4944
lf.l_whence = SEEK_SET;
sys/sys/fcntl.h
273
#ifndef SEEK_SET
sys/sys/unistd.h
115
#ifndef SEEK_SET
sys/sys/unistd.h
129
#define L_SET SEEK_SET
sys/vfs/dirfs/dirfs_vnops.c
1260
lseek(dnp->dn_fd, startoff, SEEK_SET);
sys/vfs/smbfs/smbfs_vnops.c
906
case SEEK_SET:
test/interbench/interbench.c
709
if (lseek(tmp, (off_t)0, SEEK_SET) == -1)
test/lockf/lockf.c
112
fl.l_whence = SEEK_SET;
test/stress/fsstress/fsstress.c
1406
fl.l_whence = SEEK_SET;
test/stress/fsstress/fsstress.c
1795
lseek64(fd, off, SEEK_SET);
test/stress/fsstress/fsstress.c
1875
lseek64(fd, off, SEEK_SET);
test/stress/fsstress/fsstress.c
1884
lseek64(fd, off, SEEK_SET);
test/stress/fsstress/fsstress.c
1969
fl.l_whence = SEEK_SET;
test/stress/fsstress/fsstress.c
2210
lseek64(fd, off, SEEK_SET);
test/stress/fsstress/fsstress.c
2342
fl.l_whence = SEEK_SET;
test/stress/fsstress/fsstress.c
2560
fl.l_whence = SEEK_SET;
test/stress/fsstress/fsstress.c
2614
lseek64(fd, off, SEEK_SET);
test/stress/fsstress/fsstress.c
395
if (lseek64(fd, (off64_t)(MAXFSIZE32 + 1ULL), SEEK_SET) < 0)
test/stress/fsx/fsx.c
1153
ret = lseek(fd, (off_t)0, SEEK_SET);
test/stress/fsx/fsx.c
328
ret = lseek(xfd, (off_t)0, SEEK_SET);
test/stress/fsx/fsx.c
481
ret = lseek(fd, (off_t)offset, SEEK_SET);
test/stress/fsx/fsx.c
638
ret = lseek(fd, (off_t)offset, SEEK_SET);
test/stress/fsx/fsx.c
770
if (lseek(fd, (off_t)0, SEEK_SET) == (off_t)-1) {
test/stress/stress2/testcases/lockf/lockf.c
100
if (lseek(fd, 0, SEEK_SET) == -1)
test/stress/stress2/testcases/lockf/lockf.c
54
if (lseek(fd, 0, SEEK_SET) == -1)
test/stress/stress2/testcases/lockf/lockf.c
68
if (lseek(fd, 0, SEEK_SET) == -1)
test/stress/stress2/testcases/lockf/lockf.c
73
if (lseek(fd, 0, SEEK_SET) == -1)
test/stress/stress2/testcases/lockf2/lockf2.c
86
if (lseek(fd, pos, SEEK_SET) == -1)
test/stress/stress2/testcases/mmap/mmap.c
93
if (lseek(fdout, statbuf.st_size - 1, SEEK_SET) == -1)
test/unix/passdesc/passdesc.c
177
ofs = lseek(fd, 0, SEEK_SET);
tools/regression/lib/libc-regex/testregex.c
1937
sfstrseek(state.disc.sp, 0, SEEK_SET);
tools/regression/nfsmmap/test1/test1.c
32
if (lseek(fd, 600, SEEK_SET) < 0)
tools/regression/nfsmmap/test2/test2.c
32
if (lseek(fd, 600, SEEK_SET) < 0)
tools/tools/ath/athprom/athprom.c
905
fseek(ftemplate, forchan, SEEK_SET);
tools/tools/ath/athprom/athprom.c
935
fseek(ftemplate, forpdgain, SEEK_SET);
tools/tools/ath/athprom/athprom.c
944
fseek(ftemplate, forpcdac, SEEK_SET);
tools/tools/ath/athprom/athprom.c
954
fseek(ftemplate, forctl, SEEK_SET);
tools/tools/bus_autoconf/bus_load_file.c
56
if (lseek(f, 0, SEEK_SET) < 0) {
tools/tools/drm/radeon/mkregtable/mkregtable.c
648
fseek(file, 0, SEEK_SET);
usr.bin/at/at.c
246
lock.l_type = F_WRLCK; lock.l_whence = SEEK_SET; lock.l_start = 0;
usr.bin/at/at.c
306
lock.l_type = F_UNLCK; lock.l_whence = SEEK_SET; lock.l_start = 0;
usr.bin/brandelf/brandelf.c
147
lseek(fd, 0, SEEK_SET);
usr.bin/crunch/crunchide/crunchide.c
226
if (lseek(fd, 0, SEEK_SET) != 0) {
usr.bin/crunch/crunchide/crunchide.c
242
if (lseek(fd, 0, SEEK_SET) != 0) {
usr.bin/crunch/crunchide/exec_elf64.c
82
if (lseek(fd, off, SEEK_SET) != off) {
usr.bin/crunch/crunchide/exec_elf64.c
99
if (lseek(fd, off, SEEK_SET) != off) {
usr.bin/dfregress/userland.c
254
lseek(fd_stdout, 0, SEEK_SET);
usr.bin/dfregress/userland.c
268
lseek(fd_stderr, 0, SEEK_SET);
usr.bin/diff/diffreg.c
1119
fseek(lb, f[i - 1], SEEK_SET);
usr.bin/diff/diffreg.c
1256
fseek(fp, f[pos - 1], SEEK_SET);
usr.bin/diff/diffreg.c
476
lseek(ofd, (off_t)0, SEEK_SET);
usr.bin/fetch/fetch.c
695
if (of != NULL && fseeko(of, url->offset, SEEK_SET) != 0) {
usr.bin/finger/lprint.c
323
(void)lseek(fd, 0L, SEEK_SET);
usr.bin/gcore/elfcore.c
133
lseek(memfd, (off_t)php->p_vaddr, SEEK_SET);
usr.bin/gcore/elfcore.c
469
lseek(mapfd, (off_t)0, SEEK_SET);
usr.bin/gzip/gzip.c
1369
lseek(fd, 0, SEEK_SET);
usr.bin/hexdump/display.c
345
if (fseeko(stdin, skip, SEEK_SET))
usr.bin/last/last.c
345
if (lseek(wfd, bl * len, SEEK_SET) == -1 ||
usr.bin/lastcomm/lastcomm.c
142
if (fseeko(fp, size, SEEK_SET) == -1)
usr.bin/ldd/ldd.c
132
if (lseek(fd, 0, SEEK_SET) == -1 ||
usr.bin/ldd/ldd.c
134
lseek(fd, ehdr.e_phoff, SEEK_SET) == -1
usr.bin/locate/locate/locate.c
250
fseek(fp, (long)0, SEEK_SET) == -1)
usr.bin/mail/fio.c
205
positionof(mp->m_block, mp->m_offset), SEEK_SET) < 0)
usr.bin/mail/fio.c
75
fseeko(ibuf, offset, SEEK_SET);
usr.bin/mail/quit.c
115
fseeko(fbuf, mailsize, SEEK_SET);
usr.bin/mail/quit.c
439
fseeko(ibuf, mailsize, SEEK_SET);
usr.bin/patch/inp.c
342
fseek(ifp, 0L, SEEK_SET); /* rewind file */
usr.bin/patch/inp.c
404
tibuflen), SEEK_SET) < 0)
usr.bin/patch/pch.c
281
fseeko(pfp, p_base, SEEK_SET);
usr.bin/patch/pch.c
488
fseeko(pfp, p_base, SEEK_SET);
usr.bin/patch/pch.c
498
fseeko(pfp, file_pos, SEEK_SET);
usr.bin/patch/pch.c
833
fseeko(pfp, repl_backtrack_position, SEEK_SET);
usr.bin/strfile/strfile.c
156
fseek(outf, (long)sizeof(Tbl), SEEK_SET);
usr.bin/strfile/strfile.c
386
fseeko(Sort_1, p1->pos, SEEK_SET);
usr.bin/strfile/strfile.c
387
fseeko(Sort_2, p2->pos, SEEK_SET);
usr.bin/tail/forward.c
105
if (fseeko(fp, off, SEEK_SET) == -1) {
usr.bin/tail/forward.c
235
if (fseeko(fp, sbp->st_size, SEEK_SET) == -1) {
usr.bin/tcopy/tcopy.c
326
if( lseek(fd, 0, SEEK_SET) == -1 )
usr.bin/unstr/unstr.c
116
fseeko(Inf, be64toh(pos), SEEK_SET);
usr.bin/xinstall/xinstall.c
1009
if (lseek(from_fd, (off_t)0, SEEK_SET) == (off_t)-1)
usr.bin/xinstall/xinstall.c
1011
if (lseek(to_fd, (off_t)0, SEEK_SET) == (off_t)-1)
usr.bin/xinstall/xinstall.c
911
lseek(from_fd, 0, SEEK_SET);
usr.bin/xinstall/xinstall.c
912
lseek(to_fd, 0, SEEK_SET);
usr.bin/xinstall/xinstall.c
926
lseek(from_fd, 0, SEEK_SET);
usr.bin/xinstall/xinstall.c
927
lseek(to_fd, 0, SEEK_SET);
usr.sbin/boot0cfg/boot0cfg.c
238
if (lseek(fd, 0, SEEK_SET) == -1 ||
usr.sbin/burncd/burncd.c
478
lseek(fd, track_info->addr * track_info->block_size, SEEK_SET);
usr.sbin/fstyp/fstyp.c
97
error = fseek(fp, off, SEEK_SET);
usr.sbin/fstyp/hammer2.c
169
if (fseek(fp, io_base, SEEK_SET) == -1) {
usr.sbin/inetd/inetd.c
1406
fseek(fconfig, 0L, SEEK_SET);
usr.sbin/lpr/lpd/printjob.c
1101
lseek(sfd, 0, SEEK_SET);
usr.sbin/lpr/lpd/printjob.c
1180
lseek(sfd, 0, SEEK_SET);
usr.sbin/makefs/cd9660/cd9660_debug.c
199
if (fseeko(fd, CD9660_SECTOR_SIZE * sector, SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_debug.c
235
if (fseeko(fd, CD9660_SECTOR_SIZE * sector, SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
555
if (fseeko(fd, (off_t)(idx) * 16 + 0x1be, SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
594
if (fseeko(fd, (off_t)(idx + 1) * sector_size, SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
640
diskStructure->sectorSize, SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_eltorito.c
679
fseek(fd, 0x1fe, SEEK_SET);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
708
fseek(fd, 0, SEEK_SET);
usr.sbin/makefs/cd9660/cd9660_write.c
311
SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_write.c
336
diskStructure->sectorSize, SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_write.c
349
SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_write.c
399
if (fseeko(fd, sector * diskStructure->sectorSize, SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_write.c
404
if (fseeko(fd, curpos, SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_write.c
443
if (fseeko(fd, start_sector * diskStructure->sectorSize, SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_write.c
477
if (fseeko(fd, sector * diskStructure->sectorSize + offset, SEEK_SET) ==
usr.sbin/makefs/cd9660/cd9660_write.c
495
SEEK_SET) == -1)
usr.sbin/makefs/cd9660/cd9660_write.c
508
SEEK_SET) == -1)
usr.sbin/makefs/ffs.c
558
if (lseek(fsopts->fd, fsopts->offset, SEEK_SET) == -1) {
usr.sbin/makefs/ffs/buf.c
142
if (lseek(bp->b_fs->fd, offset, SEEK_SET) == -1) {
usr.sbin/makefs/ffs/buf.c
78
if (lseek((*bpp)->b_fs->fd, offset, SEEK_SET) == -1)
usr.sbin/makefs/ffs/mkfs.c
878
if (lseek(fsopts->fd, offset, SEEK_SET) < 0)
usr.sbin/makefs/ffs/mkfs.c
902
if (lseek(fsopts->fd, offset, SEEK_SET) < 0)
usr.sbin/makefs/hammer2.c
912
if (lseek(fsopts->fd, fsopts->offset, SEEK_SET) == -1) {
usr.sbin/makefs/hammer2/hammer2_buf.c
79
if (lseek(bp->b_fs->fd, bp->b_loffset, SEEK_SET) == -1)
usr.sbin/mptable/mptable.c
848
if ( lseek( pfd, (off_t)addr, SEEK_SET ) < 0 )
usr.sbin/pflogd/pflogd.c
393
fseek(fp, 0L, SEEK_SET);
usr.sbin/resident/resident.c
189
if (lseek(fd, 0, SEEK_SET) == -1 ||
usr.sbin/resident/resident.c
191
lseek(fd, ehdr.e_phoff, SEEK_SET) == -1
usr.sbin/rpc.statd/file.c
106
lseek(status_fd, desired_size - 1, SEEK_SET);
usr.sbin/rpc.statd/file.c
182
lseek(status_fd, 0L, SEEK_SET);