Symbol: fseek
bin/ed/buf.c
106
if (fseek(sfp, 0L, SEEK_END) == -1) {
games/atc/log.c
227
if (fseek(score_fp, 0L, SEEK_SET) == -1)
games/atc/log.c
245
if (fseek(score_fp, 0L, SEEK_SET) == -1)
games/boggle/boggle/word.c
107
return (fseek(fp, offset, ptrname));
games/fortune/fortune/fortune.c
216
(void) fseek(fp->inf, (long)Seekpts[0], SEEK_SET);
games/fortune/fortune/fortune.c
241
(void) fseek(Fortfile->inf, (long)Seekpts[0], SEEK_SET);
games/fortune/strfile/strfile.c
154
(void) fseek(outf, sizeof Tbl, SEEK_SET);
games/fortune/strfile/strfile.c
226
(void) fseek(outf, 0, SEEK_SET);
games/fortune/strfile/strfile.c
391
(void) fseek(Sort_1, ((STR *)p1)->pos, SEEK_SET);
games/fortune/strfile/strfile.c
392
(void) fseek(Sort_2, ((STR *)p2)->pos, SEEK_SET);
games/fortune/unstr/unstr.c
123
(void) fseek(Inf, ntohl(pos), SEEK_SET);
games/hack/hack.rumors.c
86
if (fseek(rumf, 0L, SEEK_SET) == -1)
games/hangman/getword.c
63
fseek(inf, pos, SEEK_SET);
games/monop/cards.c
124
fseek(deckf, dp->offsets[dp->top_card], SEEK_SET);
games/monop/cards.c
259
fseek(deckf, dp->offsets[gojfpos], SEEK_SET);
games/monop/initdeck.c
107
fseek(outf, 0L, SEEK_SET);
games/monop/initdeck.c
87
fseek(inf, 0L, SEEK_SET);
games/phantasia/fight.c
1040
fseek(Monstfp, (long) which * (long) SZ_MONSTERSTRUCT, SEEK_SET);
games/phantasia/fight.c
1076
fseek(Monstfp, (long) which * (long) SZ_MONSTERSTRUCT, SEEK_SET);
games/phantasia/gamesupport.c
522
fseek(Monstfp, 0L, SEEK_SET);
games/phantasia/gamesupport.c
593
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/gamesupport.c
641
fseek(Playersfp, loc, SEEK_SET);
games/phantasia/gamesupport.c
722
fseek(fp, loc, SEEK_SET);
games/phantasia/interplayer.c
1118
fseek(Energyvoidfp, loc, SEEK_SET);
games/phantasia/interplayer.c
1121
fseek(Energyvoidfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
1154
fseek(Energyvoidfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
475
fseek(Energyvoidfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
50
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
652
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
720
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
810
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
846
fseek(Energyvoidfp, 0L, SEEK_SET);
games/phantasia/interplayer.c
948
fseek(fp, 0L, SEEK_SET);
games/phantasia/interplayer.c
995
fseek(Energyvoidfp, 0L, SEEK_SET);
games/phantasia/main.c
767
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/main.c
784
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/main.c
796
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/main.c
816
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/misc.c
1147
fseek(Playersfp, loc, SEEK_SET);
games/phantasia/misc.c
1376
fseek(Messagefp, 0L, SEEK_SET);
games/phantasia/misc.c
1613
fseek(fp, 0L, SEEK_SET);
games/phantasia/misc.c
686
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/misc.c
728
fseek(Playersfp, 0L, SEEK_SET);
games/phantasia/misc.c
903
fseek(Monstfp, 13L * SZ_MONSTERSTRUCT, SEEK_SET);
games/phantasia/misc.c
907
fseek(Monstfp, 13L * SZ_MONSTERSTRUCT, SEEK_SET);
games/phantasia/misc.c
971
fseek(Playersfp, place, SEEK_SET);
games/sail/misc.c
215
if (fseek(fp, 0L, SEEK_SET) == -1)
games/sail/sync.c
233
(void) fseek(sync_fp, sync_seek, SEEK_SET);
games/sail/sync.c
281
(void) fseek(sync_fp, 0L, SEEK_END);
games/snake/snake.c
545
if (fseek(sf, 0L, SEEK_SET) == -1)
games/tetris/scores.c
186
if (fseek(sf, 0L, SEEK_SET) == -1)
include/stdio.h
147
int fseek(FILE *, long, int);
lib/libc/hidden/stdio.h
73
PROTO_STD_DEPRECATED(fseek);
lib/libcrypto/bio/bss_file.c
225
ret = (long)fseek(fp, num, 0);
lib/libskey/skeylogin.c
166
(void)fseek(keyfile, 0L, SEEK_SET);
lib/libskey/skeylogin.c
279
(void)fseek(mp->keyfile, 0L, SEEK_SET);
lib/libskey/skeylogin.c
305
(void)fseek(mp->keyfile, 0L, SEEK_SET);
libexec/ftpd/ftpd.c
1240
if (fseek(fout, 0, SEEK_CUR) == -1) {
regress/lib/libc/fmemopen/fmemopentest.c
104
fseek(s1, 0, SEEK_SET);
regress/lib/libc/fmemopen/fmemopentest.c
149
fseek(s1, 0, SEEK_SET);
regress/lib/libc/fmemopen/fmemopentest.c
225
if (fseek(s1, 8, SEEK_SET) != 0) {
regress/lib/libc/fmemopen/fmemopentest.c
236
if (fseek(s1, -1, SEEK_CUR) != 0) {
regress/lib/libc/fmemopen/fmemopentest.c
56
fseek(s2, 0, SEEK_SET);
regress/lib/libc/fmemopen/fmemopentest.c
85
fseek(s1, 0, SEEK_SET);
regress/lib/libc/open_memstream/open_memstreamtest.c
125
if (fseek(fp, 100, SEEK_END) != 0) {
regress/lib/libc/open_memstream/open_memstreamtest.c
141
if (fseek(fp, -1, SEEK_END) != 0) {
regress/lib/libc/open_memstream/open_memstreamtest.c
146
if (fseek(fp, 8, SEEK_SET) != 0) {
regress/lib/libc/open_memstream/open_memstreamtest.c
157
if (fseek(fp, -1, SEEK_CUR) != 0) {
regress/lib/libc/open_memstream/open_memstreamtest.c
167
if (fseek(fp, 5, SEEK_CUR) != 0) {
regress/lib/libc/open_memstream/open_memstreamtest.c
65
if (fseek(fp, OFFSET, SEEK_SET) != 0) {
regress/lib/libc/open_memstream/open_memstreamtest.c
86
if (fseek(fp, 0, SEEK_SET) != 0) {
regress/lib/libc/open_wmemstream/open_wmemstreamtest.c
128
if (fseek(fp, 100, SEEK_END) != 0) {
regress/lib/libc/open_wmemstream/open_wmemstreamtest.c
144
if (fseek(fp, -1, SEEK_END) != 0) {
regress/lib/libc/open_wmemstream/open_wmemstreamtest.c
149
if (fseek(fp, 8, SEEK_SET) != 0) {
regress/lib/libc/open_wmemstream/open_wmemstreamtest.c
160
if (fseek(fp, -1, SEEK_CUR) != 0) {
regress/lib/libc/open_wmemstream/open_wmemstreamtest.c
170
if (fseek(fp, 5, SEEK_CUR) != 0) {
regress/lib/libc/open_wmemstream/open_wmemstreamtest.c
66
if (fseek(fp, OFFSET, SEEK_SET) != 0) {
regress/lib/libc/open_wmemstream/open_wmemstreamtest.c
87
if (fseek(fp, 0, SEEK_SET) != 0) {
regress/lib/libc/orientation/orientation_test.c
151
TEST_UNCHANGED(fseek(f, 1, SEEK_CUR));
regress/lib/libc/orientation/orientation_test.c
152
TEST_UNCHANGED(fseek(f, 1, SEEK_SET));
regress/lib/libc/orientation/orientation_test.c
153
TEST_UNCHANGED(fseek(f, 1, SEEK_END));
regress/lib/libc/stdio/test___freading.c
109
fseek(fp, 0, SEEK_CUR);
regress/lib/libc/stdio/test___freading.c
83
fseek(fp, 0, SEEK_END);
regress/lib/libc/stdio/test_fflush.c
319
fseek(fp, 0, SEEK_SET);
sbin/dump/itime.c
181
if (fseek(df, 0L, SEEK_SET) == -1)
sbin/pflogd/pflogd.c
424
(void) fseek(fp, 0L, SEEK_SET);
sbin/pflogd/pflogd.c
453
fseek(fp, ph.caplen, SEEK_CUR);
sbin/quotacheck/quotacheck.c
422
fseek(qfo, (long)sizeof(struct dqblk), SEEK_CUR);
sbin/unwind/libunbound/config.h
1425
#define fseeko fseek
sys/dev/pci/drm/radeon/mkregtable.c
214
fseek(file, 0, SEEK_END);
sys/dev/pci/drm/radeon/mkregtable.c
216
fseek(file, 0, SEEK_SET);
usr.bin/ctags/print.c
55
(void)fseek(inf, lineftell, SEEK_SET);
usr.bin/ctags/print.c
85
(void)fseek(inf, saveftell, SEEK_SET);
usr.bin/cvs/diff3.c
767
(void)fseek(fp[i], (long)-nchar, SEEK_CUR);
usr.bin/cvs/diff3.c
801
(void)fseek(fp[2], (long)de[n].new.from, SEEK_SET);
usr.bin/cvs/diff_internals.c
1107
fseek(lb, f[i - 1], SEEK_SET);
usr.bin/cvs/diff_internals.c
1235
fseek(fp, f[pos - 1], SEEK_SET);
usr.bin/diff/diffreg.c
1127
fseek(lb, f[i - 1], SEEK_SET);
usr.bin/diff/diffreg.c
1264
fseek(fp, f[pos - 1], SEEK_SET);
usr.bin/diff3/diff3prog.c
518
(void)fseek(fp[i], (long)-nchar, SEEK_CUR);
usr.bin/diff3/diff3prog.c
558
(void)fseek(fp[2], (long)de[n].new.from, SEEK_SET);
usr.bin/ftp/ftp.c
1114
if (fseek(fout, 0L, SEEK_SET) == -1)
usr.bin/ftp/ftp.c
1126
if (fseek(fout, 0L, SEEK_CUR) == -1) {
usr.bin/gprof/gprof.c
292
fseek(pfile, sizeof(struct ophdr), SEEK_SET);
usr.bin/grep/binary.c
51
if (fseek(f, 0L, SEEK_SET) == -1)
usr.bin/htpasswd/htpasswd.c
189
if (fseek(in, 0, SEEK_SET) == -1)
usr.bin/htpasswd/htpasswd.c
191
if (fseek(out, 0, SEEK_SET) == -1)
usr.bin/lastcomm/lastcomm.c
143
if (fseek(fp, 2 * -(long)sizeof(struct acct), SEEK_CUR) == -1)
usr.bin/lex/filter.c
173
fseek(stdin, 0, SEEK_CUR);
usr.bin/lex/filter.c
194
fseek(stdout, 0, SEEK_CUR);
usr.bin/mail/collect.c
442
fseek(nf, 0L, SEEK_END);
usr.bin/mail/collect.c
492
(void)fseek(nf, 0L, SEEK_END);
usr.bin/mail/edit.c
109
(void)fseek(otf, 0L, SEEK_END);
usr.bin/mail/fio.c
262
if (fseek(itf, (long)positionof(mp->m_block, mp->m_offset), SEEK_SET)
usr.bin/mail/quit.c
117
fseek(fbuf, (long)mailsize, SEEK_SET);
usr.bin/mail/quit.c
431
fseek(ibuf, (long)mailsize, SEEK_SET);
usr.bin/make/arch.c
476
if (fseek(arch, -elen, SEEK_CUR) != 0)
usr.bin/make/arch.c
488
if (fseek(arch, (size + 1) & ~1, SEEK_CUR) != 0)
usr.bin/make/arch.c
804
if (fseek(arch, -elength, SEEK_CUR) != 0)
usr.bin/make/arch.c
818
if (fseek(arch, (size + 1) & ~1, SEEK_CUR) != 0)
usr.bin/make/arch.c
843
if (fseek(arch, -sizeof(struct ar_hdr), SEEK_CUR) == 0)
usr.bin/mandoc/dba_write.c
63
if (fseek(ofp, pos, SEEK_SET) == -1)
usr.bin/newsyslog/newsyslog.c
1179
fseek(fp, osize, SEEK_SET);
usr.bin/patch/inp.c
335
fseek(ifp, 0L, SEEK_SET); /* rewind file */
usr.bin/rcs/diff.c
1042
fseek(lb, f[i - 1], SEEK_SET);
usr.bin/rcs/diff.c
1162
fseek(fp, f[pos - 1], SEEK_SET);
usr.bin/rcs/diff3.c
862
(void)fseek(fp[i], (long)-nchar, SEEK_CUR);
usr.bin/rcs/diff3.c
896
(void)fseek(fp[2], (long)de[n].new.from, SEEK_SET);
usr.bin/skeyinit/skeyinit.c
309
(void)fseek(skey.keyfile, 0L, SEEK_SET);
usr.bin/ssh/hostfile.c
548
if (fseek(f, -1L, SEEK_END) == 0 && fgetc(f) != '\n')
usr.bin/ssh/hostfile.c
550
if (fseek(f, 0L, SEEK_END) != 0 || (addnl && fputc('\n', f) != '\n')) {
usr.bin/ssh/moduli.c
455
if (fseek(f, 0, SEEK_SET) != 0) {
usr.bin/tftp/tftpsubs.c
232
fseek(file, -1, SEEK_CUR);
usr.bin/tic/tic.c
1050
(void) fseek(tmp_fp, qp->cstart, SEEK_SET);
usr.bin/tic/tic.c
1078
(void) fseek(tmp_fp, _nc_tail->cend, SEEK_SET);
usr.sbin/cron/client.c
50
if (fseek(file, 0L, SEEK_SET))
usr.sbin/cron/env.c
254
fseek(f, filepos, SEEK_SET);
usr.sbin/inetd/inetd.c
1015
fseek(fconfig, 0L, SEEK_SET);
usr.sbin/kvm_mkdb/nlist.c
149
if (fseek(fp, symstroff, SEEK_SET) == -1) {
usr.sbin/kvm_mkdb/nlist.c
161
if (fseek(fp, symoff, SEEK_SET) == -1) {
usr.sbin/kvm_mkdb/nlist.c
236
if (fseek(fp, voff, SEEK_SET) == -1) {
usr.sbin/kvm_mkdb/nlist.c
283
if (!ksyms && fseek(fp, cur_off, SEEK_SET) == -1) {
usr.sbin/kvm_mkdb/nlist.c
81
if (fseek(fp, (off_t)0, SEEK_SET) == -1 ||
usr.sbin/kvm_mkdb/nlist.c
93
if (fseek(fp, eh.e_shoff, SEEK_SET) == -1) {
usr.sbin/ldomctl/mdesc.c
638
if (fseek(fp, 0, SEEK_END) == -1) {
usr.sbin/ldomctl/mdesc.c
647
if (fseek(fp, 0, SEEK_SET) == -1) {
usr.sbin/ldomctl/mdesc.c
693
fseek(fp, 0, SEEK_END);
usr.sbin/ldomctl/mdstore.c
352
fseek(fp, 0, SEEK_END);
usr.sbin/ldomctl/mdstore.c
354
fseek(fp, 0, SEEK_SET);
usr.sbin/lpr/lpd/printjob.c
498
fseek(cfp, 0L, SEEK_SET);
usr.sbin/lpr/lpd/printjob.c
865
fseek(cfp, 0L, SEEK_SET);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
546
fseek(fd, 32 - strlen(part_name) - 1, SEEK_CUR);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
548
fseek(fd, 32 - strlen(part_type) - 1, SEEK_CUR);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
598
fseek(fd, 0x1fe, SEEK_SET);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
621
fseek(fd, 0, SEEK_SET);
usr.sbin/nsd/difffile.c
145
if(fseek(df, 0, SEEK_END) == -1) {
usr.sbin/smtpd/crypto.c
146
if (fseek(in, -sizeof(tag), SEEK_END) == -1)
usr.sbin/smtpd/crypto.c
151
if (fseek(in, 0, SEEK_SET) == -1)
usr.sbin/smtpd/enqueue.c
889
if (fseek(in, 0, SEEK_SET) != 0)
usr.sbin/smtpd/mda.c
502
fseek(fp, SEEK_SET, 0);
usr.sbin/smtpd/mta_session.c
823
fseek(s->datafp, 0, SEEK_SET);
usr.sbin/smtpd/smtp_client.c
426
fseek(proto->mail->fp, 0, SEEK_SET);
usr.sbin/smtpd/smtpctl.c
1314
fseek(fp, 0, SEEK_SET);
usr.sbin/smtpd/smtpctl.c
1392
fseek(fp, 0, SEEK_SET);
usr.sbin/smtpd/smtpctl.c
1426
fseek(fp, 0, SEEK_SET);
usr.sbin/unbound/smallapp/unbound-anchor.c
406
if(fseek(in, 0, SEEK_END) < 0)
usr.sbin/unbound/smallapp/unbound-anchor.c
409
if(fseek(in, 0, SEEK_SET) < 0)
usr.sbin/unbound/testcode/petal.c
416
fseek(in, 0, SEEK_END);
usr.sbin/unbound/testcode/petal.c
418
fseek(in, 0, SEEK_SET);