Symbol: SEEK_SET
bin/cat/cat.c
200
stdout_lock.l_whence = SEEK_SET;
bin/ed/buf.c
59
if (fseeko(sfp, sfseek, SEEK_SET) < 0) {
bin/pax/ar_io.c
828
if (lseek(arfd, mpos, SEEK_SET) >= 0)
bin/pax/ar_io.c
909
if (lseek(arfd, cpos, SEEK_SET) < 0) {
bin/pax/file_subs.c
932
else if (lseek(fd, (off_t)0L, SEEK_SET) < 0)
bin/pax/tables.c
1179
if (lseek(dirfd, dblk.npos, SEEK_SET) < 0)
bin/pax/tables.c
1183
if (lseek(dirfd, dblk.npos, SEEK_SET) < 0)
bin/pax/tables.c
392
if (lseek(ffd,pt->seek,SEEK_SET) != pt->seek) {
crypto/heimdal/appl/ftp/ftp/ftp.c
1039
lseek (fileno (fout), restart_point, SEEK_SET) < 0) {
crypto/heimdal/appl/ftp/ftp/ftp.c
1081
if (fseek (fout, 0L, SEEK_SET) < 0)
crypto/heimdal/appl/ftp/ftp/ftp.c
760
rc = fseek (fin, (long) restart_point, SEEK_SET);
crypto/heimdal/appl/ftp/ftp/ftp.c
764
rc = lseek (fileno (fin), restart_point, SEEK_SET);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1053
} else if (lseek(fileno(fin), restart_point, SEEK_SET) < 0) {
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1153
} else if (lseek(fileno(fout), restart_point, SEEK_SET) < 0) {
crypto/heimdal/appl/login/utmp_login.c
152
lseek(fd, (long)(ttyno * sizeof(struct utmp)), SEEK_SET);
crypto/heimdal/kadmin/rpc.c
731
krb5_storage_seek(sp, 0, SEEK_SET);
crypto/heimdal/kadmin/rpc.c
841
krb5_storage_seek(msg, 0, SEEK_SET);
crypto/heimdal/kadmin/server.c
452
krb5_storage_seek(sp, 0, SEEK_SET);
crypto/heimdal/kcm/protocol.c
1793
krb5_storage_seek(resp_sp, 4, SEEK_SET);
crypto/heimdal/kcm/protocol.c
1802
krb5_storage_seek(resp_sp, 0, SEEK_SET);
crypto/heimdal/lib/kadm5/iprop-log.c
129
krb5_storage_seek(sp, end, SEEK_SET);
crypto/heimdal/lib/kadm5/iprop-log.c
277
krb5_storage_seek(sp, end, SEEK_SET);
crypto/heimdal/lib/kadm5/ipropd_slave.c
218
krb5_storage_seek (sp, left, SEEK_SET);
crypto/heimdal/lib/kadm5/ipropd_slave.c
232
krb5_storage_seek (sp, left, SEEK_SET);
crypto/heimdal/lib/kadm5/log.c
811
lseek (fd, 0, SEEK_SET);
crypto/heimdal/lib/kadm5/log.c
884
krb5_storage_seek(sp, oldoff, SEEK_SET);
crypto/heimdal/lib/kadm5/log.c
905
krb5_storage_seek(sp, oldoff, SEEK_SET);
crypto/heimdal/lib/kadm5/log.c
914
krb5_storage_seek(sp, oldoff, SEEK_SET);
crypto/heimdal/lib/kadm5/send_recv.c
54
krb5_storage_seek(sp, 0, SEEK_SET);
crypto/heimdal/lib/krb5/fcache.c
124
l.l_whence = SEEK_SET;
crypto/heimdal/lib/krb5/fcache.c
222
if (lseek(fd, 0, SEEK_SET) < 0)
crypto/heimdal/lib/krb5/fcache.c
82
l.l_whence = SEEK_SET;
crypto/heimdal/lib/krb5/keytab_file.c
502
krb5_storage_seek(cursor->sp, pos + 4 + len, SEEK_SET);
crypto/heimdal/lib/krb5/keytab_file.c
747
krb5_storage_seek(cursor.sp, pos_start, SEEK_SET);
crypto/heimdal/lib/krb5/keytab_keyfile.c
292
krb5_storage_seek(cursor->sp, pos + 4 + 8, SEEK_SET);
crypto/heimdal/lib/krb5/keytab_keyfile.c
358
if(krb5_storage_seek(sp, 0, SEEK_SET) < 0) {
crypto/heimdal/lib/krb5/keytab_keyfile.c
407
if(krb5_storage_seek(sp, 0, SEEK_SET) < 0) {
crypto/heimdal/lib/krb5/store.c
306
sp->seek(sp, pos, SEEK_SET);
crypto/heimdal/lib/krb5/store.c
310
sp->seek(sp, 0, SEEK_SET);
crypto/heimdal/lib/krb5/store.c
312
sp->seek(sp, pos, SEEK_SET);
crypto/heimdal/lib/krb5/store_emem.c
83
case SEEK_SET:
crypto/heimdal/lib/krb5/store_emem.c
93
sp->seek(sp,s->ptr - s->base + offset, SEEK_SET);
crypto/heimdal/lib/krb5/store_emem.c
96
sp->seek(sp, s->len + offset, SEEK_SET);
crypto/heimdal/lib/krb5/store_mem.c
76
case SEEK_SET:
crypto/heimdal/lib/krb5/store_mem.c
84
return sp->seek(sp, s->ptr - s->base + offset, SEEK_SET);
crypto/heimdal/lib/krb5/store_mem.c
86
return sp->seek(sp, s->size + offset, SEEK_SET);
crypto/heimdal/lib/krb5/test_store.c
102
krb5_storage_seek(sp, 0, SEEK_SET);
crypto/heimdal/lib/krb5/test_store.c
127
krb5_storage_seek(sp, 0, SEEK_SET);
crypto/heimdal/lib/krb5/test_store.c
152
krb5_storage_seek(sp, 0, SEEK_SET);
crypto/heimdal/lib/krb5/test_store.c
177
krb5_storage_seek(sp, 0, SEEK_SET);
crypto/heimdal/lib/krb5/test_store.c
231
krb5_storage_seek(sp, 0, SEEK_SET);
crypto/heimdal/lib/krb5/test_store.c
52
krb5_storage_seek(sp, 0, SEEK_SET);
crypto/heimdal/lib/krb5/test_store.c
77
krb5_storage_seek(sp, 0, SEEK_SET);
crypto/heimdal/lib/ntlm/ntlm.c
293
CHECK(krb5_storage_seek(sp, desc->offset, SEEK_SET), desc->offset);
crypto/heimdal/lib/ntlm/ntlm.c
333
CHECK(krb5_storage_seek(sp, desc->offset, SEEK_SET), desc->offset);
crypto/heimdal/lib/roken/flock.c
50
arg.l_whence = SEEK_SET;
crypto/heimdal/lib/roken/getcap.c
285
(void)lseek(fd, (off_t)0, SEEK_SET);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1093
if (lseek(fd, start_offset, SEEK_SET) == -1) {
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1118
if (lseek(fd, start_offset, SEEK_SET) == -1) {
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1101
if (fseek(KTFILEP(id), start_pos + size, SEEK_SET) == -1) {
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1256
if (fseek(KTFILEP(id), commit_point, SEEK_SET)) {
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1323
if (fseek(fp, 0, SEEK_SET))
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1374
if (fseek(fp, zero_point, SEEK_SET))
crypto/krb5/src/lib/krb5/keytab/kt_file.c
300
if (fseek(KTFILEP(id), KTSTARTOFF(id), SEEK_SET) == -1) {
crypto/krb5/src/lib/krb5/keytab/kt_file.c
721
#ifndef SEEK_SET
crypto/krb5/src/lib/krb5/keytab/kt_file.c
844
if (fseek(KTFILEP(id), delete_point, SEEK_SET)) {
crypto/krb5/src/lib/krb5/keytab/kt_file.c
858
if (fseek(KTFILEP(id), delete_point, SEEK_SET)) {
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
114
st = lseek(fd, offset, SEEK_SET);
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
83
st = lseek(fd, offset, SEEK_SET);
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
659
lseek(fd, pos, SEEK_SET);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
410
lseek(hashp->fp, 0, SEEK_SET);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
439
lseek(hashp->fp, 0, SEEK_SET);
crypto/krb5/src/plugins/kdb/db2/libdb2/mpool/mpool.c
223
if (lseek(mp->fd, off, SEEK_SET) != off)
crypto/krb5/src/plugins/kdb/db2/libdb2/mpool/mpool.c
409
if (lseek(mp->fd, off, SEEK_SET) != off)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_close.c
138
if (lseek(t->bt_rfd, (off_t)0, SEEK_SET) != 0)
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
254
fseek(pfile, 0, SEEK_SET);
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
452
(void)lseek(fd, pos, SEEK_SET);
crypto/libecc/src/tests/ec_utils.c
1156
SEEK_SET);
crypto/libecc/src/tests/ec_utils.c
1206
if (fseek(in_file, 0, SEEK_SET)) {
crypto/openssh/loginrec.c
1561
if (lseek(*fd, offset, SEEK_SET) != offset) {
crypto/openssh/loginrec.c
869
if ((ret = lseek(fd, pos, SEEK_SET)) == -1) {
crypto/openssh/loginrec.c
891
if ((ret = lseek(fd, pos, SEEK_SET)) == -1) {
crypto/openssh/moduli.c
506
if (fseek(f, 0, SEEK_SET) != 0) {
crypto/openssh/openbsd-compat/bsd-flock.c
69
fl.l_whence = SEEK_SET;
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) {
crypto/openssl/crypto/http/http_client.c
325
(void)fseek(fp, 0, SEEK_SET);
include/stdio.h
230
#ifndef SEEK_SET
lib/libc/db/recno/rec_close.c
131
if (lseek(t->bt_rfd, (off_t)0, SEEK_SET) != 0)
lib/libc/gen/getcap.c
236
(void)lseek(fd, (off_t)0, SEEK_SET);
lib/libc/gen/getgrent.c
1477
fseeko(st->fp, pos, SEEK_SET);
lib/libc/gen/getgrent.c
1481
fseeko(st->fp, pos, SEEK_SET);
lib/libc/gen/getgrent.c
917
fseeko(st->fp, pos, SEEK_SET);
lib/libc/gen/getgrent.c
921
fseeko(st->fp, pos, SEEK_SET);
lib/libc/gen/nlist.c
139
if (lseek(fd, (off_t)0, SEEK_SET) == -1 ||
lib/libc/gen/nlist.c
217
if (lseek(fd, (off_t) symoff, SEEK_SET) == -1) {
lib/libc/gen/opendir2.c
126
if (pos == -1 || lseek(fd2, pos, SEEK_SET) == -1) {
lib/libc/gen/pututxline.c
124
ret = fseeko(fp, partial, SEEK_SET);
lib/libc/gen/rewinddir.c
52
(void) lseek(dirp->dd_fd, 0, SEEK_SET);
lib/libc/gen/telldir.c
153
(void) lseek(dirp->dd_fd, (off_t)loc_seek, SEEK_SET);
lib/libc/iconv/citrus_db.c
129
if (_citrus_memory_stream_seek(&ms, offset, SEEK_SET))
lib/libc/iconv/citrus_db.c
154
SEEK_SET))
lib/libc/iconv/citrus_db.c
166
SEEK_SET))
lib/libc/iconv/citrus_db.c
311
if (_citrus_memory_stream_seek(&ms, offset, SEEK_SET))
lib/libc/iconv/citrus_db.c
318
if (_memstream_seek(&ms, be32toh(dex->dex_key_offset), SEEK_SET))
lib/libc/iconv/citrus_db.c
324
if (_memstream_seek(&ms, be32toh(dex->dex_data_offset), SEEK_SET))
lib/libc/iconv/citrus_db.c
72
if (_memstream_seek(&ms, be32toh(dhx->dhx_entry_offset), SEEK_SET))
lib/libc/iconv/citrus_memstream.h
111
case SEEK_SET:
lib/libc/stdio/fmemopen.c
218
case SEEK_SET:
lib/libc/stdio/fopencookie.c
121
case SEEK_SET:
lib/libc/stdio/freopen.c
115
(void) _sseek(fp, (fpos_t)0, SEEK_SET);
lib/libc/stdio/fseek.c
138
whence = SEEK_SET;
lib/libc/stdio/fseek.c
142
case SEEK_SET:
lib/libc/stdio/fseek.c
184
if (whence == SEEK_SET)
lib/libc/stdio/fseek.c
258
if (_sseek(fp, curoff, SEEK_SET) == POS_ERR)
lib/libc/stdio/fsetpos.c
44
return (fseeko(iop, (off_t)*pos, SEEK_SET));
lib/libc/stdio/open_memstream.c
122
case SEEK_SET:
lib/libc/stdio/open_wmemstream.c
180
case SEEK_SET:
lib/libc/stdio/rewind.c
52
if (_fseeko(fp, (off_t)0, SEEK_SET, 1) == 0)
lib/libc/tests/secure/fortify_poll_test.c
137
ATF_REQUIRE_EQ(0, lseek(fd, 0, SEEK_SET));
lib/libc/tests/secure/fortify_random_test.c
137
ATF_REQUIRE_EQ(0, lseek(fd, 0, SEEK_SET));
lib/libc/tests/secure/fortify_select_test.c
137
ATF_REQUIRE_EQ(0, lseek(fd, 0, SEEK_SET));
lib/libc/tests/secure/fortify_signal_test.c
137
ATF_REQUIRE_EQ(0, lseek(fd, 0, SEEK_SET));
lib/libc/tests/secure/fortify_socket_test.c
137
ATF_REQUIRE_EQ(0, lseek(fd, 0, SEEK_SET));
lib/libc/tests/secure/fortify_stdio_test.c
137
ATF_REQUIRE_EQ(0, lseek(fd, 0, SEEK_SET));
lib/libc/tests/secure/fortify_stdlib_test.c
137
ATF_REQUIRE_EQ(0, lseek(fd, 0, SEEK_SET));
lib/libc/tests/secure/fortify_string_test.c
137
ATF_REQUIRE_EQ(0, lseek(fd, 0, SEEK_SET));
lib/libc/tests/secure/fortify_strings_test.c
137
ATF_REQUIRE_EQ(0, lseek(fd, 0, SEEK_SET));
lib/libc/tests/secure/fortify_uio_test.c
137
ATF_REQUIRE_EQ(0, lseek(fd, 0, SEEK_SET));
lib/libc/tests/secure/fortify_unistd_test.c
137
ATF_REQUIRE_EQ(0, lseek(fd, 0, SEEK_SET));
lib/libc/tests/secure/fortify_wchar_test.c
137
ATF_REQUIRE_EQ(0, lseek(fd, 0, SEEK_SET));
lib/libc/tests/stdio/fmemopen2_test.c
186
rc = fseek(fp, 0, SEEK_SET);
lib/libc/tests/stdio/open_memstream2_test.c
125
fseek(fp, 3, SEEK_SET);
lib/libc/tests/stdio/open_memstream2_test.c
141
fseek(fp, 4, SEEK_SET);
lib/libc/tests/stdio/open_memstream2_test.c
178
SEEK_FAIL(-1, SEEK_SET, EINVAL);
lib/libc/tests/stdio/open_memstream2_test.c
183
SEEK_OK(0, SEEK_SET, 0);
lib/libc/tests/stdio/open_memstream2_test.c
185
SEEK_OK(OFF_MAX - 1, SEEK_SET, OFF_MAX - 1);
lib/libc/tests/stdio/open_memstream2_test.c
66
fseeko(fp, eob, SEEK_SET);
lib/libc/tests/stdio/open_wmemstream_test.c
125
fseek(fp, 3, SEEK_SET);
lib/libc/tests/stdio/open_wmemstream_test.c
141
fseek(fp, 4, SEEK_SET);
lib/libc/tests/stdio/open_wmemstream_test.c
178
SEEK_FAIL(-1, SEEK_SET, EINVAL);
lib/libc/tests/stdio/open_wmemstream_test.c
183
SEEK_OK(0, SEEK_SET, 0);
lib/libc/tests/stdio/open_wmemstream_test.c
185
SEEK_OK(OFF_MAX - 1, SEEK_SET, OFF_MAX - 1);
lib/libc/tests/stdio/open_wmemstream_test.c
66
fseeko(fp, eob, SEEK_SET);
lib/libc/tests/sys/sendfile_test.c
308
ATF_REQUIRE_EQ_MSG(0, lseek(src_fd, offset, SEEK_SET),
lib/libfetch/file.c
57
if (u->offset && fseeko(f, u->offset, SEEK_SET) == -1) {
lib/libfetch/file.c
87
if (u->offset && fseeko(f, u->offset, SEEK_SET) == -1) {
lib/libfigpar/figpar.c
189
if (lseek(fd, curpos, SEEK_SET) == -1) {
lib/libfigpar/figpar.c
300
if (lseek(fd, charpos, SEEK_SET) == -1) {
lib/libfigpar/figpar.c
362
if (lseek(fd, curpos, SEEK_SET) == -1) {
lib/libmd/mdXhl.c
66
if (lseek(fd, ofs, SEEK_SET) != ofs ||
lib/libprocstat/core.c
313
if (lseek(core->pc_fd, offset, SEEK_SET) == -1) {
lib/libsecureboot/tests/tvo.c
171
lseek(fd, 0, SEEK_SET);
lib/libsecureboot/tests/tvo.c
181
(st.st_size % 1024), SEEK_SET);
lib/libsecureboot/tests/tvo.c
183
off = vectx_lseek(vp, off/2, SEEK_SET);
lib/libsecureboot/vectx.c
197
lseek(fd, 0, SEEK_SET);
lib/libsecureboot/vectx.c
198
vectx_lseek(ctx, off, SEEK_SET);
lib/libsecureboot/vectx.c
341
whence = SEEK_SET;
lib/libsecureboot/vectx.c
345
whence = SEEK_SET;
lib/libsecureboot/vectx.c
348
if (whence != SEEK_SET ||
lib/libsecureboot/veopen.c
387
lseek(fd, 0, SEEK_SET);
lib/libsecureboot/veopen.c
395
lseek(fd, off, SEEK_SET);
lib/libsecureboot/verify_file.c
337
lseek(fd, 0, SEEK_SET);
lib/libsysdecode/tests/sysdecode_test.c
79
ATF_REQUIRE(fseek(fp, 0, SEEK_SET) == 0);
lib/libutil/quotafile.c
287
if (lseek(qf->fd, off, SEEK_SET) == -1)
lib/libutil/quotafile.c
315
if (lseek(qf->fd, off, SEEK_SET) == -1)
lib/libutil/quotafile.c
375
if (lseek(qf->fd, off, SEEK_SET) == -1)
lib/libutil/quotafile.c
398
if (lseek(qf->fd, off, SEEK_SET) == -1)
lib/libutil/uucplock.c
137
lseek(fd, (off_t)0, SEEK_SET);
libexec/atrun/atrun.c
282
if (lseek(fd_in, (off_t) 0, SEEK_SET) < 0)
libexec/rbootd/rmpproto.c
441
if (lseek(oldconn->bootfd, (off_t)size, SEEK_SET) < 0) {
libexec/tftpd/tftp-file.c
225
return fseeko(file, offset, SEEK_SET);
sbin/bsdlabel/bsdlabel.c
466
(void)lseek(f, (off_t)0, SEEK_SET);
sbin/camcontrol/fwdownload.c
517
if (lseek(fd, 0, SEEK_SET) == -1) {
sbin/camcontrol/fwdownload.c
603
if (lseek(fd, 0, SEEK_SET) == -1) {
sbin/camcontrol/fwdownload.c
627
if (lseek(fd, skip_bytes, SEEK_SET) == -1) {
sbin/fsck_msdosfs/boot.c
201
SEEK_SET) != boot->bpbFSInfo * boot->bpbBytesPerSec
sbin/fsck_msdosfs/boot.c
227
boot->bpbBytesPerSec, SEEK_SET)
sbin/fsck_msdosfs/boot.c
341
if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, SEEK_SET)
sbin/fsck_msdosfs/boot.c
355
if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, SEEK_SET)
sbin/fsck_msdosfs/dir.c
1014
if (lseek(fd, off, SEEK_SET) != off
sbin/fsck_msdosfs/dir.c
1034
if (lseek(fd, off, SEEK_SET) != off
sbin/fsck_msdosfs/dir.c
1135
if (lseek(dosfs, lfoff, SEEK_SET) != lfoff
sbin/fsck_msdosfs/dir.c
1165
if (lseek(dosfs, lfoff, SEEK_SET) != lfoff
sbin/fsck_msdosfs/dir.c
319
if (lseek(fd, off, SEEK_SET) != off) {
sbin/fsck_msdosfs/dir.c
331
if (lseek(fd, off, SEEK_SET) != off) {
sbin/fsck_msdosfs/dir.c
512
if (lseek(fd, off, SEEK_SET) != off ||
sbin/fsck_msdosfs/dir.c
612
if (lseek(fd, off, SEEK_SET) != off ||
sbin/fsck_msdosfs/fat.c
1167
if ((lseek(fd, src_off, SEEK_SET) != src_off ||
sbin/fsck_msdosfs/fat.c
1174
if ((lseek(fd, dst_off, SEEK_SET) != dst_off ||
sbin/fsck_msdosfs/fat.c
1229
if ((lseek(fd, dst_base, SEEK_SET) != dst_base ||
sbin/fsck_msdosfs/fat.c
373
if (lseek(fd, fat_addr, SEEK_SET) != fat_addr ||
sbin/fsck_msdosfs/fat.c
427
if (lseek(fd, fat_addr, SEEK_SET) != fat_addr ||
sbin/fsck_msdosfs/fat.c
599
if (lseek(fs, off, SEEK_SET) != off) {
sbin/fsck_msdosfs/fat.c
748
if (lseek(fd, off, SEEK_SET) != off) {
sbin/fsirand/fsirand.c
180
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
sbin/fsirand/fsirand.c
211
if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
sbin/growfs/growfs.c
1102
if (lseek(fso, (off_t)bno * DEV_BSIZE, SEEK_SET) < 0)
sbin/ipf/ipfs/ipfs.c
128
if (lseek(fd, pos, SEEK_SET) != pos) {
sbin/ipf/ipfs/ipfs.c
184
if (lseek(fd, pos, SEEK_SET) != pos) {
sbin/ipf/ipsend/sock.c
105
if (lseek(kfd, offset, SEEK_SET) == -1)
sbin/newfs_msdos/mkfs_msdos.c
310
if (o.offset && o.offset != lseek(fd, o.offset, SEEK_SET)) {
sbin/newfs_msdos/mkfs_msdos.c
667
if (!x && lseek(fd1, o.offset, SEEK_SET)) {
sbin/quotacheck/quotacheck.c
664
if (lseek(fi, (off_t)bno * dev_bsize, SEEK_SET) < 0 ||
sbin/restore/dirs.c
439
(void) lseek(dirp->dd_fd, base + rounddown2(loc, DIRBLKSIZ), SEEK_SET);
sbin/savecore/savecore.c
1002
if (lseek(fddev, lasthd, SEEK_SET) != lasthd ||
sbin/savecore/savecore.c
1097
if (lseek(fddev, firsthd, SEEK_SET) != firsthd ||
sbin/savecore/savecore.c
1276
if (lseek(fddev, lasthd, SEEK_SET) != lasthd ||
sbin/savecore/savecore.c
815
(void)lseek(fdcore, 0, SEEK_SET);
share/examples/scsi_target/scsi_cmds.c
613
c_descr->aiocb.aio_offset, SEEK_SET) < 0) {
share/examples/scsi_target/scsi_cmds.c
729
c_descr->aiocb.aio_offset, SEEK_SET) < 0) {
stand/common/load_elf.c
804
if (VECTX_LSEEK(VECTX_HANDLE(ef), (off_t)shdr[i].sh_offset, SEEK_SET) == -1) {
stand/common/misc.c
119
if (VECTX_LSEEK(fd, off, SEEK_SET) == -1) {
stand/common/misc.c
152
if (VECTX_LSEEK(fd, off, SEEK_SET) == -1) {
stand/common/vdisk.c
271
if (lseek(vd->vdisk_fd, blk << 9, SEEK_SET) == -1)
stand/efi/libefi/efihttp.c
705
if (where == SEEK_SET && fh->offset == offset)
stand/efi/libefi/efihttp.c
707
if (where == SEEK_SET && fh->offset < offset) {
stand/efi/libefi/efihttp.c
722
} else if (where == SEEK_SET) {
stand/efi/libefi/efihttp.c
777
efihttp_fs_seek(f, 0, SEEK_SET);
stand/efi/loader/arch/amd64/multiboot2.c
130
error = lseek(fd, i + sizeof(*header), SEEK_SET);
stand/ficl/fileaccess.c
370
pushIor(pVM, fseek(ff->f, ud, SEEK_SET) == 0);
stand/ficl/fileaccess.c
82
fseek(f, 0, SEEK_SET);
stand/ficl/loader.c
635
if (lseek(fd, 0, SEEK_SET) == -1)
stand/ficl/loader.c
647
d = (lseek(fd, off, SEEK_SET) != off) ? NULL : &dirent;
stand/i386/gptzfsboot/zfsboot.c
375
lseek(fd, PAGE_SIZE, SEEK_SET);
stand/i386/gptzfsboot/zfsboot.c
414
lseek(fd, hdr.eh.e_phoff, SEEK_SET);
stand/i386/gptzfsboot/zfsboot.c
426
lseek(fd, ep[i].p_offset, SEEK_SET);
stand/i386/gptzfsboot/zfsboot.c
438
SEEK_SET);
stand/i386/gptzfsboot/zfsboot.c
448
lseek(fd, es[i].sh_offset, SEEK_SET);
stand/kboot/libkboot/dfk.c
246
SEEK_SET);
stand/kboot/libkboot/efi.c
142
if (lseek(fd2, pa, SEEK_SET) < 0)
stand/libsa/bzipfs.c
291
if (lseek(bzf->bzf_rawfd, 0, SEEK_SET) == -1) {
stand/libsa/bzipfs.c
315
case SEEK_SET:
stand/libsa/cd9660.c
646
case SEEK_SET:
stand/libsa/dosfs.c
480
case SEEK_SET:
stand/libsa/ext2fs.c
852
case SEEK_SET:
stand/libsa/gzipfs.c
277
if (lseek(zf->zf_rawfd, zf->zf_dataoffset, SEEK_SET) == -1)
stand/libsa/gzipfs.c
295
case SEEK_SET:
stand/libsa/lseek.c
107
case SEEK_SET:
stand/libsa/lseek.c
80
case SEEK_SET:
stand/libsa/nfs.c
724
case SEEK_SET:
stand/libsa/pkgfs.c
360
case SEEK_SET:
stand/libsa/splitfs.c
244
case SEEK_SET:
stand/libsa/tftp.c
715
case SEEK_SET:
stand/libsa/ufs.c
831
case SEEK_SET:
stand/libsa/zfs/zfs.c
187
case SEEK_SET:
stand/libsa/zfs/zfs.c
523
if (lseek(fd, start_sec * secsz, SEEK_SET) == -1) {
stand/libsa/zfs/zfs.c
617
if (lseek(fd, start_sec * secsz, SEEK_SET) == -1) {
stand/usb/tools/sysinit.c
219
off = lseek(input_file, 0, SEEK_SET);
sys/compat/linux/linux_socket.c
2604
error = fo_seek(fp, current_offset, SEEK_SET, td);
sys/compat/linux/linux_socket.c
2607
error = fo_seek(ofp, out_offset, SEEK_SET, td);
sys/compat/linux/linux_socket.c
2643
error = fo_seek(fp, current_offset, SEEK_SET, td);
sys/fs/fuse/fuse_vnops.c
607
case SEEK_SET:
sys/fs/fuse/fuse_vnops.c
657
fl->l_whence = SEEK_SET;
sys/fs/nfsclient/nfs_clrpcops.c
4632
case SEEK_SET:
sys/fs/nfsclient/nfs_clrpcops.c
4817
fl->l_whence = SEEK_SET;
sys/fs/nfsclient/nfs_clstate.c
1460
case SEEK_SET:
sys/fs/nfsclient/nfs_clstate.c
4276
fl->l_whence = SEEK_SET;
sys/fs/nfsserver/nfs_nfsdport.c
3960
fl.l_whence = SEEK_SET;
sys/fs/smbfs/smbfs_vnops.c
923
case SEEK_SET:
sys/kern/coredump_vnode.c
478
lf.l_whence = SEEK_SET;
sys/kern/kern_descrip.c
2646
lf.l_whence = SEEK_SET;
sys/kern/kern_descrip.c
2962
lf.l_whence = SEEK_SET;
sys/kern/kern_descrip.c
2985
lf.l_whence = SEEK_SET;
sys/kern/kern_descrip.c
3952
lf.l_whence = SEEK_SET;
sys/kern/kern_descrip.c
830
flp->l_whence = SEEK_SET;
sys/kern/kern_lockf.c
1573
fl->l_whence = SEEK_SET;
sys/kern/kern_lockf.c
1890
ldesc->fl.l_whence = SEEK_SET;
sys/kern/kern_lockf.c
1957
ldesc->fl.l_whence = SEEK_SET;
sys/kern/kern_lockf.c
439
case SEEK_SET:
sys/kern/vfs_vnops.c
2064
lf.l_whence = SEEK_SET;
sys/kern/vfs_vnops.c
413
lf.l_whence = SEEK_SET;
sys/nlm/nlm_advlock.c
1103
fl->l_whence = SEEK_SET;
sys/nlm/nlm_advlock.c
1232
} else if (fl->l_whence == SEEK_SET || fl->l_whence == SEEK_CUR) {
sys/nlm/nlm_prot_impl.c
1900
fl.l_whence = SEEK_SET;
sys/nlm/nlm_prot_impl.c
2007
fl.l_whence = SEEK_SET;
sys/nlm/nlm_prot_impl.c
2186
fl.l_whence = SEEK_SET;
sys/nlm/nlm_prot_impl.c
2275
fl.l_whence = SEEK_SET;
sys/sys/unistd.h
105
#ifndef SEEK_SET
sys/sys/unistd.h
117
#define L_SET SEEK_SET
tests/sys/capsicum/capability-fd.cc
1231
EXPECT_EQ(-1, lseek(fds[0], 0, SEEK_SET));
tests/sys/capsicum/capability-fd.cc
1238
EXPECT_EQ(-1, lseek(fds[0], 0, SEEK_SET));
tests/sys/capsicum/capability-fd.cc
1244
EXPECT_EQ(-1, lseek(fds[0], 0, SEEK_SET));
tests/sys/capsicum/capability-fd.cc
311
EXPECT_EQ(1, lseek(fd, 1, SEEK_SET));
tests/sys/capsicum/capability-fd.cc
315
EXPECT_EQ(3, lseek(cap_fd, 3, SEEK_SET));
tests/sys/capsicum/capability-fd.cc
319
EXPECT_EQ(5, lseek(cap_cap_fd, 5, SEEK_SET));
tests/sys/capsicum/capability-fd.cc
495
CHECK_RIGHT_RESULT(lseek(cap_fd, 0, SEEK_SET), rights, CAP_SEEK);
tests/sys/capsicum/capmode.cc
122
EXPECT_OK(lseek(fd_file_, 0, SEEK_SET));
tests/sys/capsicum/fcntl.cc
193
fl.l_whence = SEEK_SET;
tests/sys/capsicum/fcntl.cc
220
fl.l_whence = SEEK_SET;
tests/sys/capsicum/fcntl.cc
230
fl.l_whence = SEEK_SET;
tests/sys/capsicum/fcntl.cc
244
fl.l_whence = SEEK_SET;
tests/sys/capsicum/linux.cc
1228
lseek(fd, 4, SEEK_SET);
tests/sys/capsicum/overhead.cc
42
EXPECT_GT(50, CompareSyscall(&cap_enter, 10000, __NR_lseek, fd, 0, SEEK_SET));
tests/sys/cddl/zfs/bin/file_trunc.c
182
if (lseek(fd, (offset + roffset), SEEK_SET) < 0) {
tests/sys/cddl/zfs/bin/file_trunc.c
194
if (lseek(fd, (offset + roffset), SEEK_SET) < 0) {
tests/sys/cddl/zfs/bin/file_write.c
180
noffset = lseek(bigfd, offset, SEEK_SET);
tests/sys/cddl/zfs/bin/largest_file.c
76
lseek_ret = lseek(fd, offset, SEEK_SET);
tests/sys/cddl/zfs/bin/mkfile.c
134
if ((lseek(fd, (off_t)(s - 1LL), SEEK_SET) == (off_t)-1) ||
tests/sys/cddl/zfs/bin/mkfile.c
146
if (lseek(fd, (off_t)0, SEEK_SET) == (off_t)-1) {
tests/sys/cddl/zfs/bin/randfree_file.c
88
fl.l_whence = SEEK_SET;
tests/sys/cddl/zfs/tests/txg_integrity/fsync_integrity.c
457
if (-1 == lseek(outfd, 0, SEEK_SET)){
tests/sys/cddl/zfs/tests/txg_integrity/txg_integrity.c
522
if (-1 == lseek(outfd, 0, SEEK_SET)){
tests/sys/file/flock_helper.c
1069
fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
1191
fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
1361
fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
1399
fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
1458
tc.tc_fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
153
fl1.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
197
fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
268
fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
337
fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
423
fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
509
fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
612
fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
684
fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
761
fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
832
fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
900
fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
930
fl.l_whence = SEEK_SET;
tests/sys/file/flock_helper.c
986
fl.l_whence = SEEK_SET;
tests/sys/file/path_test.c
741
lseek(pathfd, 0, SEEK_SET) == -1);
tests/sys/fs/fusefs/cache.cc
191
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET));
tests/sys/fs/fusefs/flush.cc
263
fl.l_whence = SEEK_SET;
tests/sys/fs/fusefs/locks.cc
231
fl.l_whence = SEEK_SET;
tests/sys/fs/fusefs/locks.cc
281
fl.l_whence = SEEK_SET;
tests/sys/fs/fusefs/locks.cc
294
ASSERT_EQ(fl.l_whence, SEEK_SET);
tests/sys/fs/fusefs/locks.cc
344
fl.l_whence = SEEK_SET;
tests/sys/fs/fusefs/locks.cc
351
EXPECT_EQ(SEEK_SET, fl.l_whence);
tests/sys/fs/fusefs/locks.cc
397
ASSERT_NE(-1, lseek(fd, 500, SEEK_SET));
tests/sys/fs/fusefs/locks.cc
415
EXPECT_EQ(fl.l_whence, SEEK_SET);
tests/sys/fs/fusefs/locks.cc
462
ASSERT_NE(-1, lseek(fd, 500, SEEK_SET));
tests/sys/fs/fusefs/locks.cc
480
EXPECT_EQ(fl.l_whence, SEEK_SET);
tests/sys/fs/fusefs/locks.cc
507
fl.l_whence = SEEK_SET;
tests/sys/fs/fusefs/locks.cc
533
fl.l_whence = SEEK_SET;
tests/sys/fs/fusefs/locks.cc
559
fl.l_whence = SEEK_SET;
tests/sys/fs/fusefs/locks.cc
585
fl.l_whence = SEEK_SET;
tests/sys/fs/fusefs/locks.cc
607
ASSERT_NE(-1, lseek(fd, 500, SEEK_SET));
tests/sys/fs/fusefs/locks.cc
668
fl.l_whence = SEEK_SET;
tests/sys/fs/fusefs/locks.cc
696
fl.l_whence = SEEK_SET;
tests/sys/fs/fusefs/locks.cc
726
fl.l_whence = SEEK_SET;
tests/sys/fs/fusefs/lseek.cc
274
EXPECT_EQ(offset_initial, lseek(fd, offset_initial, SEEK_SET));
tests/sys/fs/fusefs/notify.cc
388
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
1367
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/read.cc
994
ASSERT_EQ(0, lseek(fd0, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/readdir.cc
233
r = lseek(fd, de0->d_off, SEEK_SET);
tests/sys/fs/fusefs/release.cc
284
fl.l_whence = SEEK_SET;
tests/sys/fs/fusefs/write.cc
1097
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1128
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1155
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
1634
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
385
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/fusefs/write.cc
391
ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno);
tests/sys/fs/tarfs/mktar.c
96
if (lseek(fd, 1048576LU * (i - 32), SEEK_SET) < 0)
tests/sys/kern/copy_file_range.c
195
ATF_REQUIRE(lseek(fd2, 0, SEEK_SET) == 0);
tests/sys/kern/copy_file_range.c
50
ATF_REQUIRE(lseek(fd, 0, SEEK_SET) == 0);
tests/sys/kern/inotify_test.c
463
ATF_REQUIRE(lseek(fd, 0, SEEK_SET) == 0);
tests/sys/kern/inotify_test.c
470
ATF_REQUIRE(lseek(fd, 0, SEEK_SET) == 0);
tests/sys/posixshm/memfd_test.c
107
ATF_REQUIRE(lseek(fd, 0, SEEK_SET) == 0);
tests/sys/posixshm/posixshm_test.c
956
if (lseek(desc, 0, SEEK_SET) == -1)
tools/bus_space/bus.c
162
o = lseek(r->fd, ofs, SEEK_SET);
tools/bus_space/bus.c
260
o = lseek(r->fd, ofs, SEEK_SET);
tools/regression/fsx/fsx.c
1183
ret = lseek(fd, (off_t)0, SEEK_SET);
tools/regression/fsx/fsx.c
316
ret = lseek(savefd, (off_t)0, SEEK_SET);
tools/regression/fsx/fsx.c
466
ret = lseek(fd, (off_t)offset, SEEK_SET);
tools/regression/fsx/fsx.c
617
ret = lseek(fd, (off_t)offset, SEEK_SET);
tools/regression/fsx/fsx.c
744
if (lseek(fd, (off_t)0, SEEK_SET) == (off_t)-1) {
tools/regression/gaithrstress/gaithrstress.c
161
if (ferror(fp) || fseek(fp, 0, SEEK_SET) != 0)
tools/regression/geom/MdLoad/MdLoad.c
262
lseek(fd, dsp->offset, SEEK_SET);
tools/regression/nfsmmap/test1/test1.c
28
if (lseek(fd, 600, SEEK_SET) < 0)
tools/regression/nfsmmap/test2/test2.c
28
if (lseek(fd, 600, SEEK_SET) < 0)
tools/regression/security/cap_test/cap_test_capabilities.c
145
off = lseek(fd_cap, 0, SEEK_SET);
tools/regression/security/cap_test/cap_test_capmode.c
115
CHECK_SYSCALL_SUCCEEDS(lseek, fd_file, 0, SEEK_SET);
tools/regression/security/open_to_operation/open_to_operation.c
624
if (lseek(fd, 100, SEEK_SET) == 100)
tools/regression/sockets/sendfile/sendfile.c
277
len = lseek(file_fd, 0, SEEK_SET);
tools/regression/sockets/sendfile/sendfile.c
361
len = lseek(file_fd, 0, SEEK_SET);
tools/test/stress2/testcases/lockf/lockf.c
147
if (lseek(fd, 0, SEEK_SET) == -1)
tools/test/stress2/testcases/lockf/lockf.c
57
if (lseek(fd, 0, SEEK_SET) == -1) // XXX
tools/test/stress2/testcases/lockf/lockf.c
66
if (lseek(fd, 0, SEEK_SET) == -1)
tools/test/stress2/testcases/lockf/lockf.c
84
if (lseek(fd, 0, SEEK_SET) == -1)
tools/test/stress2/testcases/lockf/lockf.c
89
if (lseek(fd, 0, SEEK_SET) == -1)
tools/test/stress2/testcases/lockf2/lockf2.c
112
if (lseek(fd, pos, SEEK_SET) == -1)
tools/test/stress2/testcases/mmap/mmap.c
118
if (lseek(fdout, statbuf.st_size - 1, SEEK_SET) == -1)
tools/test/stress2/tools/flip.c
131
if (lseek(fd, pos, SEEK_SET) == -1)
tools/test/stress2/tools/flip.c
139
if (lseek(fd, pos, SEEK_SET) == -1)
tools/test/stress2/tools/serial.c
28
if (lseek(fd, size - 1, SEEK_SET) == -1)
tools/test/stress2/tools/zapsb.c
47
if (lseek(fd, (off_t)(sblock_try[i]), SEEK_SET) < 0)
tools/test/stress2/tools/zapsb.c
69
if (lseek(fd, (off_t)(sblock_try[i]), 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/drm/radeon/mkregtable/mkregtable.c
661
fseek(file, 0, SEEK_SET);
tools/tools/find-sb/find-sb.c
66
end = lseek(fd, offset, SEEK_SET);
tools/tools/netmap/nmreplay.c
331
lseek(pf->fd, 0, SEEK_SET);
usr.bin/at/at.c
248
lock.l_type = F_WRLCK; lock.l_whence = SEEK_SET; lock.l_start = 0;
usr.bin/at/at.c
307
lock.l_type = F_UNLCK; lock.l_whence = SEEK_SET; lock.l_start = 0;
usr.bin/brandelf/brandelf.c
174
lseek(fd, 0, SEEK_SET);
usr.bin/bsdiff/bsdiff/bsdiff.c
321
if (fseeko(pf, 0, SEEK_SET))
usr.bin/bsdiff/bspatch/bspatch.c
208
if (fseeko(cpf, offset, SEEK_SET))
usr.bin/bsdiff/bspatch/bspatch.c
213
if (fseeko(dpf, offset, SEEK_SET))
usr.bin/bsdiff/bspatch/bspatch.c
218
if (fseeko(epf, offset, SEEK_SET))
usr.bin/diff/diffreg.c
1295
fseek(lb, f[i - 1], SEEK_SET);
usr.bin/diff/diffreg.c
1470
fseek(fp, f[pos - 1], SEEK_SET);
usr.bin/diff/diffreg.c
551
lseek(ofd, (off_t)0, SEEK_SET);
usr.bin/diff3/diff3.c
671
fseek(p, 0L, SEEK_SET);
usr.bin/elfctl/elfctl.c
319
if (lseek(fd, off, SEEK_SET) == -1 ||
usr.bin/elfctl/elfctl.c
387
if (lseek(fd, phdr.p_offset, SEEK_SET) < 0) {
usr.bin/etdump/etdump.c
83
if (fseek(iso, sector * ISO_DEFAULT_BLOCK_SIZE, SEEK_SET) != 0) {
usr.bin/fetch/fetch.c
685
if (of != NULL && fseeko(of, url->offset, SEEK_SET) != 0) {
usr.bin/finger/lprint.c
323
(void)lseek(fd, 0L, SEEK_SET);
usr.bin/fortune/fortune/fortune.c
212
fseeko(fp->inf, Seekpts[0], SEEK_SET);
usr.bin/fortune/fortune/fortune.c
247
fseeko(Fortfile->inf, Seekpts[0], SEEK_SET);
usr.bin/fortune/fortune/fortune.c
990
(off_t) (sizeof fp->tbl + fp->pos * sizeof Seekpts[0]), SEEK_SET);
usr.bin/fortune/strfile/strfile.c
152
fseek(outf, (long)sizeof(Tbl), SEEK_SET);
usr.bin/fortune/strfile/strfile.c
392
fseeko(Sort_1, p1->pos, SEEK_SET);
usr.bin/fortune/strfile/strfile.c
393
fseeko(Sort_2, p2->pos, SEEK_SET);
usr.bin/fortune/unstr/unstr.c
112
fseeko(Inf, be64toh(pos), SEEK_SET);
usr.bin/gcore/gcore.c
189
lseek(efd, 0, SEEK_SET);
usr.bin/gcore/gcore.c
192
lseek(efd, 0, SEEK_SET);
usr.bin/gprof/gprof.c
265
fseek(pfile, sizeof(struct ophdr), SEEK_SET);
usr.bin/gzip/gzip.c
1473
lseek(fd, 0, SEEK_SET);
usr.bin/gzip/unxz.c
189
if (lseek(fd, pos, SEEK_SET) != pos) {
usr.bin/hexdump/display.c
417
if (fseeko(stdin, skip, SEEK_SET)) {
usr.bin/indent/indent.c
1261
if (input == NULL || fseek(input, 0, SEEK_SET) != 0)
usr.bin/lastcomm/readrec.c
245
SEEK_SET) == EOF ||
usr.bin/lastcomm/readrec.c
247
fseeko(f, pos - len, SEEK_SET) == EOF ||
usr.bin/lastcomm/readrec.c
249
fseeko(f, pos - len, SEEK_SET) == EOF)
usr.bin/lastcomm/readrec.c
255
if (fseeko(f, pos - sizeof(struct acctv1), SEEK_SET) == EOF ||
usr.bin/lastcomm/readrec.c
257
fseeko(f, pos - sizeof(struct acctv1), SEEK_SET) == EOF)
usr.bin/locate/locate/locate.c
245
fseek(fp, (long)0, SEEK_SET) == -1)
usr.bin/mail/fio.c
204
positionof(mp->m_block, mp->m_offset), SEEK_SET) < 0)
usr.bin/mail/fio.c
73
(void)fseeko(ibuf, offset, SEEK_SET);
usr.bin/mail/quit.c
110
(void)fseeko(fbuf, mailsize, SEEK_SET);
usr.bin/mail/quit.c
435
(void)fseeko(ibuf, mailsize, SEEK_SET);
usr.bin/mkuzip/mkuz_blockcache.c
63
if (lseek(fd, bcep->hit.offset, SEEK_SET) < 0) {
usr.bin/mkuzip/mkuz_blockcache.c
72
lseek(fd, cbp->info.offset, SEEK_SET);
usr.bin/mkuzip/mkuzip.c
316
lseek(cfs.fdw, offset, SEEK_SET);
usr.bin/mkuzip/mkuzip.c
412
lseek(cfs.fdw, 0, SEEK_SET);
usr.bin/msgs/msgs.c
710
fseeko(f, oldpos, SEEK_SET);
usr.bin/msgs/msgs.c
787
fseeko(newmsg, oldpos, SEEK_SET);
usr.bin/msgs/msgs.c
798
fseeko(newmsg, oldpos, SEEK_SET);/* reposition current message */
usr.bin/msgs/msgs.c
881
fseeko(infile, frompos, SEEK_SET);
usr.bin/patch/inp.c
338
fseek(ifp, 0L, SEEK_SET); /* rewind file */
usr.bin/patch/inp.c
400
tibuflen), SEEK_SET) < 0)
usr.bin/patch/pch.c
280
fseeko(pfp, p_base, SEEK_SET);
usr.bin/patch/pch.c
487
fseeko(pfp, p_base, SEEK_SET);
usr.bin/patch/pch.c
497
fseeko(pfp, file_pos, SEEK_SET);
usr.bin/patch/pch.c
827
fseeko(pfp, repl_backtrack_position, SEEK_SET);
usr.bin/tail/forward.c
108
if (fseeko(fp, off, SEEK_SET) == -1) {
usr.bin/tail/forward.c
227
if (fseeko(fp, sbp->st_size, SEEK_SET) == -1) {
usr.bin/tcopy/tcopy.cc
296
where = lseek(fd, 0L, SEEK_SET);
usr.bin/tip/tip/uucplock.c
94
if (lseek(fd, (off_t)0, SEEK_SET) < 0) {
usr.bin/xinstall/xinstall.c
1120
lseek(from_fd, 0, SEEK_SET);
usr.bin/xinstall/xinstall.c
1121
lseek(to_fd, 0, SEEK_SET);
usr.bin/xinstall/xinstall.c
1137
lseek(from_fd, 0, SEEK_SET);
usr.bin/xinstall/xinstall.c
1138
lseek(to_fd, 0, SEEK_SET);
usr.bin/xinstall/xinstall.c
1190
if (lseek(from_fd, 0, SEEK_SET) < 0)
usr.bin/xinstall/xinstall.c
1192
if (lseek(to_fd, 0, SEEK_SET) < 0)
usr.bin/xinstall/xinstall.c
1413
metalog_lock.l_whence = SEEK_SET;
usr.sbin/bhyve/snapshot.c
667
if (lseek(snapfd, foff, SEEK_SET) < 0) {
usr.sbin/boot0cfg/boot0cfg.c
330
if (lseek(fd, 0, SEEK_SET) == -1 ||
usr.sbin/bsdinstall/partedit/gpart_ops.c
445
lseek(bootfd, 0, SEEK_SET);
usr.sbin/btxld/btxld.c
466
if (offset != -1 && lseek(fd, offset, SEEK_SET) != offset)
usr.sbin/btxld/btxld.c
493
if (lseek(fd, offset, SEEK_SET) != offset)
usr.sbin/crunch/crunchide/crunchide.c
233
if (lseek(fd, 0, SEEK_SET) != 0) {
usr.sbin/crunch/crunchide/crunchide.c
249
if (lseek(fd, 0, SEEK_SET) != 0) {
usr.sbin/crunch/crunchide/exec_elf32.c
100
if (lseek(fd, off, SEEK_SET) != off) {
usr.sbin/crunch/crunchide/exec_elf32.c
117
if (lseek(fd, off, SEEK_SET) != off) {
usr.sbin/daemon/daemon.c
948
(void)lseek(pfd, 0, SEEK_SET);
usr.sbin/diskinfo/diskinfo.c
328
if (lseek(fd, (off_t)blockno * sectorsize, SEEK_SET) == -1)
usr.sbin/dumpcis/readcis.c
266
if (lseek(fd, offs, SEEK_SET) < 0)
usr.sbin/dumpcis/readcis.c
340
if (lseek(fd, offs, SEEK_SET) < 0)
usr.sbin/fdread/fdread.c
181
if (lseek(fd, nbytes, SEEK_SET) != nbytes)
usr.sbin/fdread/fdread.c
201
if (lseek(fd, nbytes, SEEK_SET) != nbytes)
usr.sbin/fstyp/fstyp.c
120
error = fseek(fp, off, SEEK_SET);
usr.sbin/fstyp/hammer2.c
99
if (fseek(fp, io_base, SEEK_SET) == -1) {
usr.sbin/inetd/inetd.c
1580
fseek(fconfig, 0L, SEEK_SET);
usr.sbin/lpr/lpd/printjob.c
1123
lseek(sfd, 0, SEEK_SET);
usr.sbin/lpr/lpd/printjob.c
1203
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
538
if (lseek(fsopts->fd, fsopts->offset, SEEK_SET) == -1) {
usr.sbin/makefs/ffs/buf.c
137
if (lseek(bp->b_fs->fd, offset, SEEK_SET) == -1) {
usr.sbin/makefs/ffs/buf.c
75
if (lseek((*bpp)->b_fs->fd, offset, SEEK_SET) == -1)
usr.sbin/makefs/ffs/mkfs.c
824
if (lseek(fsopts->fd, offset, SEEK_SET) < 0)
usr.sbin/makefs/ffs/mkfs.c
848
if (lseek(fsopts->fd, offset, SEEK_SET) < 0)
usr.sbin/mptable/mptable.c
711
if ( lseek( pfd, (off_t)addr, SEEK_SET ) < 0 )
usr.sbin/nfsd/nfsd.c
1182
ret = lseek(from_fd, (off_t)0, SEEK_SET);
usr.sbin/nfsd/nfsd.c
1184
ret = lseek(to_fd, (off_t)0, SEEK_SET);
usr.sbin/pkg/ecc.c
564
if (lseek(fd, 0, SEEK_SET) == -1) {
usr.sbin/pkg/pkg.c
683
if (lseek(fd_pkg, 0, SEEK_SET) == -1) {
usr.sbin/pmc/cmd_pmc_filter.cc
229
lseek(infd, 0, SEEK_SET);
usr.sbin/pmc/cmd_pmc_filter.cc
243
lseek(infd, 0, SEEK_SET);
usr.sbin/pmcannotate/pmcannotate.c
213
if (fseek(fp, agg->ag_offset, SEEK_SET) == -1)
usr.sbin/pmcannotate/pmcannotate.c
252
if (fseek(fp, agg->ag_offset, SEEK_SET) == -1)
usr.sbin/pmcannotate/pmcannotate.c
644
if (fseek(fp, lstart, SEEK_SET) == -1)
usr.sbin/quot/quot.c
138
if (lseek(fd, off, SEEK_SET) != off ||
usr.sbin/rpc.statd/file.c
140
if (lseek(status_fd, desired_size - 1, SEEK_SET) == -1 ||
usr.sbin/rpc.statd/file.c
214
lseek(status_fd, 0L, SEEK_SET);
usr.sbin/rtsold/dump.c
65
if (fseek(fp, 0, SEEK_SET) != 0) {
usr.sbin/uhsoctl/uhsoctl.c
468
lseek(fd, 0, SEEK_SET);
usr.sbin/uhsoctl/uhsoctl.c
511
lseek(fd, 0, SEEK_SET);