Symbol: fread
bin/ed/buf.c
79
if ((ct = fread(sfbuf, sizeof(char), len, sfp)) < 0 || ct != len) {
bin/ed/cbc.c
114
#define READ(buf, n, fp) fread(buf, sizeof(char), n, fp)
bin/ksh/history.c
709
nread = fread(hline, 1, LINE, fh);
bin/setfacl/file.c
69
len = fread(buf, (size_t)1, sizeof(buf) - 1, file);
common/dist/zlib/examples/fitblk.c
80
def->avail_in = fread(raw, 1, RAWLEN, in);
common/dist/zlib/examples/gznorm.c
132
strm.avail_in = fread(dat, 1, CHUNK, in);
common/dist/zlib/examples/zpipe.c
113
strm.avail_in = fread(in, 1, CHUNK, source);
common/dist/zlib/examples/zpipe.c
55
strm.avail_in = fread(in, 1, CHUNK, source);
common/dist/zlib/examples/zran.c
159
index->strm.avail_in = fread(buf, 1, sizeof(buf), in);
common/dist/zlib/examples/zran.c
397
index->strm.avail_in = fread(input, 1, CHUNK, in);
common/dist/zlib/examples/zran.c
444
index->strm.avail_in = fread(input, 1, CHUNK, in);
common/dist/zlib/test/minigzip.c
272
got = (unsigned)fread(in, 1, 1, gz->file);
common/dist/zlib/test/minigzip.c
381
len = (int)fread(buf, 1, sizeof(buf), in);
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3748
while ((len = fread(b, 1, sizeof(b), fp)) != 0) {
dist/pf/sbin/pflogd/pflogd.c
415
if (fread((char *)&hdr, sizeof(hdr), 1, fp) != 1) {
dist/pf/sbin/pflogd/pflogd.c
431
off_t len = fread((char *)&ph, 1, sizeof(ph), fp);
distrib/utils/sparkcrc/sparkcrc.c
95
while ((len = fread(buf, 1, sizeof(buf), fds)))
games/adventure/save.c
152
result = fread(data, 1, len, sf->f);
games/adventure/save.c
543
fread(&sum, sizeof(sum), 1, in); /* Get the seed */
games/adventure/save.c
546
fread(p->address, p->width, 1, in);
games/battlestar/save.c
55
fread(&WEIGHT, sizeof WEIGHT, 1, fp);
games/battlestar/save.c
56
fread(&CUMBER, sizeof CUMBER, 1, fp);
games/battlestar/save.c
57
fread(&ourclock, sizeof ourclock, 1, fp);
games/battlestar/save.c
58
fread(&tmp, sizeof tmp, 1, fp);
games/battlestar/save.c
61
fread(location[n].link, sizeof location[n].link, 1, fp);
games/battlestar/save.c
62
fread(location[n].objects, sizeof location[n].objects, 1, fp);
games/battlestar/save.c
64
fread(inven, sizeof inven, 1, fp);
games/battlestar/save.c
65
fread(wear, sizeof wear, 1, fp);
games/battlestar/save.c
66
fread(injuries, sizeof injuries, 1, fp);
games/battlestar/save.c
67
fread(notes, sizeof notes, 1, fp);
games/battlestar/save.c
68
fread(&direction, sizeof direction, 1, fp);
games/battlestar/save.c
69
fread(&position, sizeof position, 1, fp);
games/battlestar/save.c
70
fread(&ourtime, sizeof ourtime, 1, fp);
games/battlestar/save.c
71
fread(&fuel, sizeof fuel, 1, fp);
games/battlestar/save.c
72
fread(&torps, sizeof torps, 1, fp);
games/battlestar/save.c
73
fread(&carrying, sizeof carrying, 1, fp);
games/battlestar/save.c
74
fread(&encumber, sizeof encumber, 1, fp);
games/battlestar/save.c
75
fread(&rythmn, sizeof rythmn, 1, fp);
games/battlestar/save.c
76
fread(&followfight, sizeof followfight, 1, fp);
games/battlestar/save.c
77
fread(&ate, sizeof ate, 1, fp);
games/battlestar/save.c
78
fread(&snooze, sizeof snooze, 1, fp);
games/battlestar/save.c
79
fread(&meetgirl, sizeof meetgirl, 1, fp);
games/battlestar/save.c
80
fread(&followgod, sizeof followgod, 1, fp);
games/battlestar/save.c
81
fread(&godready, sizeof godready, 1, fp);
games/battlestar/save.c
82
fread(&win, sizeof win, 1, fp);
games/battlestar/save.c
83
fread(&wintime, sizeof wintime, 1, fp);
games/battlestar/save.c
84
fread(&matchlight, sizeof matchlight, 1, fp);
games/battlestar/save.c
85
fread(&matchcount, sizeof matchcount, 1, fp);
games/battlestar/save.c
86
fread(&loved, sizeof loved, 1, fp);
games/battlestar/save.c
87
fread(&pleasure, sizeof pleasure, 1, fp);
games/battlestar/save.c
88
fread(&power, sizeof power, 1, fp);
games/battlestar/save.c
90
if (fread(&ego, sizeof ego, 1, fp) < 1)
games/boggle/boggle/word.c
162
while (n > 0 && (st = fread(p, 1, BUFSIZ, fp)) > 0) {
games/fortune/unstr/unstr.c
135
(void) fread((char *) &pos, 1, sizeof pos, Dataf);
games/fortune/unstr/unstr.c
97
(void) fread((char *) &tbl, sizeof tbl, 1, Dataf);
games/phantasia/fight.c
863
fread((char *) &Curmonster, SZ_MONSTERSTRUCT, 1, Monstfp);
games/phantasia/fight.c
898
fread(&Othermonster, SZ_MONSTERSTRUCT, 1, Monstfp);
games/phantasia/gamesupport.c
457
while (fread((char *) &Curmonster, SZ_MONSTERSTRUCT, 1, Monstfp) == 1)
games/phantasia/gamesupport.c
471
while (fread((char *) &sbuf, SZ_SCORESTRUCT, 1, fp) == 1)
games/phantasia/gamesupport.c
484
while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1)
games/phantasia/gamesupport.c
506
if (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) != 1)
games/phantasia/gamesupport.c
530
while (fread((char *) &sbuf, SZ_SCORESTRUCT, 1, fp) == 1)
games/phantasia/interplayer.c
35
while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) {
games/phantasia/interplayer.c
377
while (fread((char *) &Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp) == 1)
games/phantasia/interplayer.c
527
while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1)
games/phantasia/interplayer.c
565
while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) {
games/phantasia/interplayer.c
624
while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1)
games/phantasia/interplayer.c
660
fread((char *) &Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp);
games/phantasia/interplayer.c
733
fread((char *) &temp1, sizeof(double), 1, fp);
games/phantasia/interplayer.c
782
fread((char *) &Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp);
games/phantasia/interplayer.c
891
while (fread((char *) &Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp) == 1)
games/phantasia/main.c
681
while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1)
games/phantasia/main.c
698
while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1)
games/phantasia/main.c
711
while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1)
games/phantasia/main.c
730
while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1)
games/phantasia/misc.c
1061
fread((char *) &dtemp, sizeof(double), 1, fp);
games/phantasia/misc.c
531
while (fread((char *) playerp, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) {
games/phantasia/misc.c
549
while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) {
games/phantasia/misc.c
653
fread((char *) &Curmonster, SZ_MONSTERSTRUCT, 1, Monstfp);
games/phantasia/misc.c
775
fread((char *) playerp, SZ_PLAYERSTRUCT, 1, Playersfp);
games/rogue/save.c
243
if (fread(buf, 1, 1, fp) > 0) {
games/rogue/save.c
385
if (fread(buf, 1, n, fp) != n) {
games/rogue/score.c
261
n = fread(score_block, 1, sizeof(score_block), fp);
games/rogue/score.c
270
n = fread(nickname_block, 1, sizeof(nickname_block), fp);
games/sail/lo_main.c
100
while (fread(&log, sizeof log, 1, fp) == 1 &&
games/sail/lo_main.c
134
switch (fread(&npeople, sizeof npeople, 1, fp)) {
games/sail/lo_main.c
143
while (fread(&log, sizeof log, 1, fp) == 1 &&
games/sail/lo_main.c
85
switch (fread(&npeople, sizeof npeople, 1, fp)) {
games/sail/misc.c
217
n = fread(log, sizeof(struct logs), NLOG, fp);
games/snake/snscore/snscore.c
86
if (fread(&whoallbest, sizeof(short), 1, fd) == 0) {
games/snake/snscore/snscore.c
90
fread(&allbest, sizeof(short), 1, fd);
games/snake/snscore/snscore.c
93
if(fread(&score, sizeof(short), 1, fd) == 0)
games/warp/intrp.c
347
len = fread(scrbuf,sizeof(char),(sizeof scrbuf)-1,
include/stdio.h
236
size_t fread(void * __restrict, size_t, size_t, FILE * __restrict);
lib/libc/gen/utmp.c
75
if (fread(&utmp, sizeof(utmp), 1, ut) == 1)
lib/libc/gen/utmpx.c
146
if (fread(&ut, sizeof(ut), 1, fp) != 1)
lib/libc/gen/utmpx.c
155
if (fread(&ut, sizeof(ut), 1, fp) != 1)
lib/libc/gen/wordexp.c
213
if (fread(we->we_strings + sofs, sizeof(char), nbytes, fp) != nbytes) {
lib/libc/rpc/xdr_stdio.c
122
if (fread(&temp, sizeof(int32_t), 1, (FILE *)xdrs->x_private) != 1)
lib/libc/rpc/xdr_stdio.c
142
if ((len != 0) && (fread(addr, (size_t)len, 1, (FILE *)xdrs->x_private) != 1))
lib/libc/stdio/getw.c
55
return fread((void *)&x, sizeof(x), 1, fp) == 1 ? x : EOF;
lib/libc/stdio/vfscanf.c
458
size_t r = fread(va_arg(ap, char *), 1,
lib/libcurses/fileio.c
141
if (fread(&n, sizeof(int), 1, fp) != 1)
lib/libcurses/fileio.c
150
if (fread(&tnsp->ch, sizeof(wchar_t), 1, fp) != 1) {
lib/libcurses/fileio.c
157
if (fread(&n, sizeof(int), 1, fp) != 1) {
lib/libcurses/fileio.c
181
if (fread(&major, sizeof(int), 1, fp) != 1)
lib/libcurses/fileio.c
183
if (fread(&minor, sizeof(int), 1, fp) != 1)
lib/libcurses/fileio.c
192
if (fread(wtmp, sizeof(WINDOW), 1, fp) != 1)
lib/libcurses/fileio.c
222
if (fread(&sp->ch, sizeof(wchar_t), 1, fp) != 1)
lib/libcurses/fileio.c
224
if (fread(&sp->attr, sizeof(attr_t), 1, fp) != 1)
lib/libedit/readline.c
1313
if (fread(buf, sizeof(buf), (size_t)1, fp) != 1) {
lib/libedit/readline.c
1323
left = (ssize_t)fread(buf, (size_t)1, sizeof(buf), fp);
lib/libedit/readline.c
1369
if (fread(buf, sizeof(buf), (size_t)1, tp) != 1) {
lib/libedit/readline.c
1395
if ((left = (ssize_t)fread(buf, (size_t)1, sizeof(buf), tp)) == 0) {
lib/libresolv/dst_api.c
860
if ((cnt = fread(in_buff, 1, sizeof(in_buff), fp)) < 5) {
sbin/cgdconfig/utils.c
444
ret = fread(bits->text, BITS2BYTES(bits->length), 1, f);
sbin/gpt/label.c
103
len = fread(*name, 1, maxlen - 1, f);
sbin/ldconfig/ldconfig.c
280
n = fread(&ex, 1, sizeof(ex), fp);
sbin/mount_portal/examples/fing.c
26
n = fread(buff, (size_t) 1, FING_BUFSIZE, fp);
sbin/restore/dirs.c
624
(void) fread((char *)&node, 1, sizeof(struct modeinfo), mf);
sbin/restore/dirs.c
643
(void) fread(buf, 1, node.extsize, mf);
share/examples/refuse/ian/ian/ian.c
109
for (ret = 1, cc = 0 ; (got = fread(buf, 1, sizeof(buf), fp)) > 0 ; cc += got) {
sys/arch/ews4800mips/stand/common/inckern.c
78
while ((n = fread(buf, 1, TMPBUF_SIZE, ifd)) > 0) {
sys/arch/hppa/stand/xxboot/iplsum.c
56
if ((len = fread(bootblk, 1, sizeof bootblk, fp)) <= IPLOFF) {
sys/arch/mmeye/stand/bootcoff/osloader.c
111
if (fread(&FileHdr, 1, sizeof(FileHdr), fp) != sizeof(FileHdr)) {
sys/arch/mmeye/stand/bootcoff/osloader.c
116
if (fread(&AoutHdr, 1, sizeof(AoutHdr), fp) != sizeof(AoutHdr)) {
sys/arch/mmeye/stand/bootcoff/osloader.c
161
if (fread(p, 1, ep_tsize, fp) != ep_tsize) {
sys/arch/mmeye/stand/bootcoff/osloader.c
168
if (fread(p + ep_daddr - ep_taddr, 1, dsize, fp) != dsize) {
sys/arch/mmeye/stand/bootcoff/osloader.c
60
if (fread(sh, 1, siz, fd) != siz) {
sys/arch/mvme68k/stand/prtvid/prtvid.c
15
fread(cdl, sizeof(struct cpu_disklabel), 1, stdin);
sys/arch/sgimips/stand/sgivol/sgivol.c
498
if (fread(fbuf, 1, j, fp) != j)
sys/arch/sgimips/stand/undist/undist.c
205
ret = (fread(&foo, 1, 1, fp) != 1);
sys/arch/sgimips/stand/undist/undist.c
387
if (fread(&filename_len, sizeof(filename_len), 1, fp) != 1) {
sys/arch/sgimips/stand/undist/undist.c
398
if (fread(buf, len, 1, fp) != 1) {
sys/arch/sgimips/stand/undist/undist.c
832
if (fread(buf, extract, 1, infp) != 1)
sys/arch/sgimips/stand/undist/util.c
389
size = fread( buf, 1, readbytes, input );
sys/arch/x68k/stand/aout2hux/aout2hux.c
224
if (fread(phdr, sizeof phdr[0], nphdr, fp) != nphdr) {
sys/arch/x68k/stand/aout2hux/aout2hux.c
258
if (fread(&shdr, sizeof shdr, 1, fp) != 1) {
sys/arch/x68k/stand/aout2hux/aout2hux.c
386
if (fread(hdra, sizeof(struct aout_m68k), 1, fp) != 1) {
sys/arch/x68k/stand/aout2hux/aout2hux.c
418
if (fread(hdra + 1,
sys/arch/x68k/stand/aout2hux/aout2hux.c
494
if (fread(&b1.half[0], SIZE_16, 1, fpa1) != 1) \
sys/arch/x68k/stand/aout2hux/aout2hux.c
496
if (fread(&b2.half[0], SIZE_16, 1, fpa2) != 1) \
sys/arch/x68k/stand/aout2hux/aout2hux.c
508
if (fread(&b1.half[1], SIZE_16, 1, fpa1) != 1)\
sys/arch/x68k/stand/aout2hux/aout2hux.c
510
if (fread(&b2.half[1], SIZE_16, 1, fpa2) != 1)\
sys/dev/hpc/fontconv.c
123
n = fread(buf, width_in_bytes, height, ifp);
sys/dev/hpc/fontconv.c
53
n = fread(buf, width_in_bytes, height, ifp);
sys/dev/stbi/stb_image.c
858
int n = fread(s->buffer_start, 1, s->buflen, s->img_file);
sys/dev/stbi/stb_image.c
926
res = ((int) fread(buffer + blen, 1, n - blen, s->img_file) == (n-blen));
tests/fs/lfs/t_orphan.c
152
fread(&inum, sizeof(ino_t), 1, fp);
tests/lib/libc/stdio/h_intr.c
242
n = fread(p, 1, size, fp);
tests/lib/libc/stdio/t_clearerr.c
53
(void)fread(buf, sizeof(buf), 1, fp);
tests/lib/libc/stdio/t_fflush.c
106
ATF_REQUIRE(fread(buf, 1, 3, f) == 3);
tests/lib/libc/stdio/t_fflush.c
141
ATF_REQUIRE(fread(&p, 1, 1, f) == 0);
tests/lib/libc/stdio/t_fmemopen.c
802
ATF_CHECK(fread(&buf1[0], 1, sizeof(buf1), fp) == (size_t)t->n);
tests/lib/libc/stdio/t_fmemopen.c
896
ATF_CHECK(fread(&buf1[0], 1, sizeof(buf1), fp)
tests/lib/libc/stdio/t_fmemopen.c
904
ATF_CHECK(fread(&buf1[0], 1, sizeof(buf1), fp)
tests/lib/libc/stdio/t_fopen.c
235
ATF_REQUIRE(fread(buf, 1, sizeof(buf), f) == 14);
tests/lib/libc/stdio/t_fopen.c
576
ATF_REQUIRE(fread(buf, 1, sizeof(buf), f) == 14);
tests/lib/libc/stdio/t_fputc.c
80
ATF_REQUIRE(fread(buf, 1, 10, f) == 10);
tools/m4/bootstrap/tokenizer.c
628
while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
usr.bin/bdes/bdes.c
125
#define READ(buf, n) fread(buf, sizeof(char), n, stdin)
usr.bin/cksum/md5.c
147
while ((len = fread(buffer, (size_t)1, (size_t)BUFSIZ, stdin)) > 0) {
usr.bin/compress/compress.c
240
while ((nr = fread(buf, 1, sizeof(buf), ifp)) != 0)
usr.bin/compress/compress.c
332
if ((nr = fread(buf, 1, sizeof(buf), ifp)) == 0) {
usr.bin/compress/compress.c
347
while ((nr = fread(buf, 1, sizeof(buf), ifp)) != 0)
usr.bin/compress/zopen.c
479
if (fread(header,
usr.bin/compress/zopen.c
592
size = fread(gbuf, 1, n_bits, fp);
usr.bin/config/mkioconf.c
162
while ((n = fread(buf, 1, sizeof(buf), ifp)) > 0)
usr.bin/csplit/csplit.c
343
if ((nread = fread(buf, 1, sizeof(buf), ofp)) == 0)
usr.bin/diff/diffreg.c
1371
cnt = fread(buf, 1, sizeof(buf), f);
usr.bin/diff/diffreg.c
1391
nc = fread(buf, 1, nc, fp);
usr.bin/diff/diffreg.c
453
i = fread(buf1, 1, sizeof(buf1), f1);
usr.bin/diff/diffreg.c
454
j = fread(buf2, 1, sizeof(buf2), f2);
usr.bin/error/touch.c
646
while ((nread = fread(edbuf, 1, sizeof(edbuf), o_touchedfile)) != 0) {
usr.bin/error/touch.c
700
while ((nread = fread(edbuf, 1, sizeof(edbuf), temp)) != 0) {
usr.bin/gzip/unlz.c
330
copylen += fread(rbp, 1, num, lz->prein);
usr.bin/gzip/zuncompress.c
148
while ((bin = fread(buf, 1, sizeof(buf), in)) != 0) {
usr.bin/gzip/zuncompress.c
238
if (fread(header + i, 1, sizeof(header) - i, zs->zs_fp) !=
usr.bin/gzip/zuncompress.c
360
zs->u.r.zs_size = fread(zs->u.r.zs_gbuf + i, 1, zs->zs_n_bits - i, zs->zs_fp);
usr.bin/head/head.c
156
rv = fread(buf, 1, len, fp);
usr.bin/hexdump/display.c
270
n = fread((char *)curp + nread, sizeof(u_char),
usr.bin/iconv/iconv.c
112
while ((inbytes = fread(inbuf, 1, INBUFSIZE, fi)) > 0) {
usr.bin/iconv/iconv.c
141
ret = fread(inbuf + inbytes, 1,
usr.bin/indent/indent.c
219
while ((n = fread(buff, 1, sizeof(buff), in.f)) > 0)
usr.bin/kdump/kdump.c
425
while ((i = fread(buf, size, num, stdin)) == 0 && tail) {
usr.bin/ktruss/dump.c
337
while ((i = fread(buf, size, num, fp)) == 0 && tail) {
usr.bin/lastcomm/lastcomm.c
122
if (fread(&ab, sizeof(ab), 1, fp) != 1)
usr.bin/m4/gnum4.c
751
#define GETSTR(s, l) if (fread(s, 1, l, f) != l) goto out; else s[l] = '\0'
usr.bin/mail/mime_codecs.c
132
while ((inbytes = fread(inbuf, 1, INBUFSIZE, fi)) > 0) {
usr.bin/mail/mime_codecs.c
152
ret = fread(inbuf + inbytes, 1,
usr.bin/mail/mime_codecs.c
335
while ((cnt = fread(mem, sizeof(*mem), limit, fi)) > 0) {
usr.bin/mail/send.c
312
if ((linelen = fread(line, sizeof(*line), linelen, ibuf)) == 0) {
usr.bin/make/arch.c
428
if (fread(magic, SARMAG, 1, arch) != 1 ||
usr.bin/make/arch.c
441
while (fread(&arh, sizeof arh, 1, arch) == 1) {
usr.bin/make/arch.c
490
if (fread(memName, elen, 1, arch) != 1)
usr.bin/make/arch.c
567
if (fread(ar->fnametab, size, 1, arch) != 1) {
usr.bin/make/arch.c
655
if (fread(magic, SARMAG, 1, arch) != 1 ||
usr.bin/make/arch.c
665
while (fread(out_arh, sizeof *out_arh, 1, arch) == 1) {
usr.bin/make/arch.c
703
if (fread(ename, elen, 1, arch) != 1) {
usr.bin/make/filemon/filemon_ktrace.c
522
nread = fread(F->p, 1, F->resid, F->in);
usr.bin/midiplay/midiplay.c
386
n = fread(buf + tot, 1, nread, f);
usr.bin/msgs/msgs.c
807
while ((n = fread(inbuf, 1, sizeof inbuf, cpfrom)) != 0)
usr.bin/rwall/rwall.c
204
if (fread(mbuf, sizeof(*mbuf), mbufsize, fp) != mbufsize)
usr.bin/script/script.c
396
if (fread(buf, sizeof(char), l, fp) != l)
usr.bin/script/script.c
456
if (fread(&stamp, sizeof(stamp), 1, fp) != 1) {
usr.bin/script/script.c
507
if (fread(buf, sizeof(char), l, fp) != l)
usr.bin/sdiff/edit.c
156
nread = fread(buf, sizeof(*buf), sizeof(buf), file);
usr.bin/sed/process.c
577
while ((count = fread(buf, sizeof(char), sizeof(buf), f)))
usr.bin/sort/files.c
267
if (!fread(&rec->length, 1, sizeof rec->length, fp)) {
usr.bin/sort/files.c
278
fread(&rec->length + 1, file_len - sizeof rec->length, 1, fp);
usr.bin/utoppya/utoppya.c
553
while ((l = fread(buf, 1, TOPPY_IO_SIZE, ifp)) > 0) {
usr.bin/uuencode/uuencode.c
142
while ((n = fread(buf, 1, sizeof(buf), stdin))) {
usr.bin/uuencode/uuencode.c
163
while ((n = fread(buf, 1, 45, stdin)) > 0) {
usr.bin/wall/wall.c
270
if (fread(mbuf, 1, mbufsize, fp) != mbufsize)
usr.sbin/ac/ac.c
468
while (fread((char *)&usr, sizeof(usr), 1, fp) == 1) {
usr.sbin/acpitools/acpidump/acpi.c
4737
while ((len = fread(buf, 1, sizeof(buf), fp)) > 0)
usr.sbin/fstyp/fstyp.c
118
nread = fread(buf, len, 1, fp);
usr.sbin/isibootd/isibootd.c
258
fread(fp->data, 1, nread, cp->file) < nread) {
usr.sbin/kvm_mkdb/nlist_aout.c
182
if (fread((char *)&nbuf, sizeof (NLIST), 1, fp) != 1) {
usr.sbin/lastlogin/lastlogin.c
241
if (fread(&l, sizeof(l), 1, fp) != 1) {
usr.sbin/lastlogin/lastlogin.c
251
for (i = 0; fread(&l, sizeof(l), 1, fp) == 1; i++) {
usr.sbin/lpr/common_source/rmjob.c
169
for (i = 1; (n = fread(current, sizeof(char), sizeof(current), fp)) <= 0; i++) {
usr.sbin/makefs/cd9660/cd9660_debug.c
214
fread(&pttemp, 1, 8, fd);
usr.sbin/makefs/cd9660/cd9660_debug.c
217
fread(((unsigned char*)&pttemp) + 8, 1, pttemp.length[0], fd);
usr.sbin/makefs/cd9660/cd9660_debug.c
248
fread(buf, 1, CD9660_SECTOR_SIZE, fd);
usr.sbin/makefs/cd9660/cd9660_write.c
445
bytes_read = fread(buf,1,buf_size,rf);
usr.sbin/npf/npfd/npfd_log.c
150
switch (fread(&pkt, sizeof(pkt), 1, fp)) {
usr.sbin/npf/npfd/npfd_log.c
91
switch (fread(hdr, sizeof(*hdr), 1, fp)) {
usr.sbin/quotacheck/quotacheck.c
530
if (fread((char *)&dqbuf, sizeof(struct dqblk), 1, qfi) == 0)
usr.sbin/quotacheck/quotacheck.c
627
if (fread((char *)&dqbuf, sizeof(struct dqblk), 1, qfi) == 0)
usr.sbin/sa/main.c
320
if (fread(&ac, sizeof(struct acct), 1, fp) != 1) {
usr.sbin/tprof/tprof_analyze.c
205
size_t n = fread(&sample, sizeof(sample), 1, f);
usr.sbin/user/user.c
409
while ((cc = fread(buf, sizeof(char), sizeof(buf), from)) > 0) {
usr.sbin/wgconfig/wgconfig.c
430
n = fread(keyb64buf, 1, KEY_BASE64_LEN, fp);