Symbol: fwrite
bin/ed/buf.c
116
if (fwrite(cs, sizeof(char), len, sfp) != len) {
bin/ls/utf8.c
46
fwrite(mbs, 1, len, stdout);
bin/ls/utf8.c
51
fwrite(mbs, 1, len, stdout);
bin/md5/md5.c
727
(void)fwrite(data, nread, 1UL, stdout);
games/adventure/save.c
140
fwrite(&sum, sizeof(sum), 1, out); /* Here's the random() key */
games/adventure/save.c
144
fwrite(p->address, p->width, 1, out);
games/battlestar/save.c
104
fwrite(&WEIGHT, sizeof WEIGHT, 1, fp);
games/battlestar/save.c
105
fwrite(&CUMBER, sizeof CUMBER, 1, fp);
games/battlestar/save.c
106
fwrite(&ourclock, sizeof ourclock, 1, fp);
games/battlestar/save.c
108
fwrite(&tmp, sizeof tmp, 1, fp);
games/battlestar/save.c
110
fwrite(location[n].link, sizeof location[n].link, 1, fp);
games/battlestar/save.c
111
fwrite(location[n].objects, sizeof location[n].objects, 1, fp);
games/battlestar/save.c
113
fwrite(inven, sizeof inven, 1, fp);
games/battlestar/save.c
114
fwrite(wear, sizeof wear, 1, fp);
games/battlestar/save.c
115
fwrite(injuries, sizeof injuries, 1, fp);
games/battlestar/save.c
116
fwrite(notes, sizeof notes, 1, fp);
games/battlestar/save.c
117
fwrite(&direction, sizeof direction, 1, fp);
games/battlestar/save.c
118
fwrite(&position, sizeof position, 1, fp);
games/battlestar/save.c
119
fwrite(&ourtime, sizeof ourtime, 1, fp);
games/battlestar/save.c
120
fwrite(&fuel, sizeof fuel, 1, fp);
games/battlestar/save.c
121
fwrite(&torps, sizeof torps, 1, fp);
games/battlestar/save.c
122
fwrite(&carrying, sizeof carrying, 1, fp);
games/battlestar/save.c
123
fwrite(&encumber, sizeof encumber, 1, fp);
games/battlestar/save.c
124
fwrite(&rythmn, sizeof rythmn, 1, fp);
games/battlestar/save.c
125
fwrite(&followfight, sizeof followfight, 1, fp);
games/battlestar/save.c
126
fwrite(&ate, sizeof ate, 1, fp);
games/battlestar/save.c
127
fwrite(&snooze, sizeof snooze, 1, fp);
games/battlestar/save.c
128
fwrite(&meetgirl, sizeof meetgirl, 1, fp);
games/battlestar/save.c
129
fwrite(&followgod, sizeof followgod, 1, fp);
games/battlestar/save.c
130
fwrite(&godready, sizeof godready, 1, fp);
games/battlestar/save.c
131
fwrite(&win, sizeof win, 1, fp);
games/battlestar/save.c
132
fwrite(&wintime, sizeof wintime, 1, fp);
games/battlestar/save.c
133
fwrite(&matchlight, sizeof matchlight, 1, fp);
games/battlestar/save.c
134
fwrite(&matchcount, sizeof matchcount, 1, fp);
games/battlestar/save.c
135
fwrite(&loved, sizeof loved, 1, fp);
games/battlestar/save.c
136
fwrite(&pleasure, sizeof pleasure, 1, fp);
games/battlestar/save.c
137
fwrite(&power, sizeof power, 1, fp);
games/battlestar/save.c
138
fwrite(&ego, sizeof ego, 1, fp);
games/fortune/fortune/fortune.c
1213
(void) fwrite(Fortbuf, 1, (sp - Fortbuf), stdout);
games/fortune/strfile/strfile.c
232
(void) fwrite(&Tbl.str_version, sizeof(Tbl.str_version), 1, outf);
games/fortune/strfile/strfile.c
233
(void) fwrite(&Tbl.str_numstr, sizeof(Tbl.str_numstr), 1, outf);
games/fortune/strfile/strfile.c
234
(void) fwrite(&Tbl.str_longlen, sizeof(Tbl.str_longlen), 1, outf);
games/fortune/strfile/strfile.c
235
(void) fwrite(&Tbl.str_shortlen, sizeof(Tbl.str_shortlen), 1, outf);
games/fortune/strfile/strfile.c
236
(void) fwrite(&Tbl.str_flags, sizeof(Tbl.str_flags), 1, outf);
games/fortune/strfile/strfile.c
237
(void) fwrite( Tbl.stuff, sizeof(Tbl.stuff), 1, outf);
games/fortune/strfile/strfile.c
241
(void) fwrite(p, sizeof(*p), 1, outf);
games/fortune/strfile/strfile.c
323
fwrite(&net, 1, sizeof net, fp);
games/hunt/hunt/hunt.c
385
fwrite(buf, cnt, 1, stdout);
games/hunt/huntd/terminal.c
200
fwrite(buf, sizeof buf[0], len, pp->p_output);
games/hunt/huntd/terminal.c
202
fwrite(buf, sizeof buf[0], len, pp->p_output);
games/hunt/huntd/terminal.c
205
fwrite(buf, sizeof buf[0], len, pp->p_output);
games/monop/initdeck.c
100
fwrite(&deck[0].gojf_used, sizeof(deck[0].gojf_used), 1, outf);
games/monop/initdeck.c
102
fwrite(CC_D.offsets, sizeof(CC_D.offsets[0]), CC_D.num_cards, outf);
games/monop/initdeck.c
103
fwrite(CH_D.offsets, sizeof(CH_D.offsets[0]), CH_D.num_cards, outf);
games/monop/initdeck.c
110
fwrite(&deck[0].num_cards, sizeof(deck[0].num_cards), 1, outf);
games/monop/initdeck.c
112
fwrite(&deck[0].top_card, sizeof(deck[0].top_card), 1, outf);
games/monop/initdeck.c
113
fwrite(&deck[0].gojf_used, sizeof(deck[0].gojf_used), 1, outf);
games/monop/initdeck.c
117
fwrite(&deck[1].num_cards, sizeof(deck[1].num_cards), 1, outf);
games/monop/initdeck.c
119
fwrite(&deck[1].top_card, sizeof(deck[1].top_card), 1, outf);
games/monop/initdeck.c
120
fwrite(&deck[1].gojf_used, sizeof(deck[1].gojf_used), 1, outf);
games/monop/initdeck.c
125
fwrite(&CC_D.offsets[n], sizeof(CC_D.offsets[n]), 1, outf);
games/monop/initdeck.c
129
fwrite(&CH_D.offsets[n], sizeof(CH_D.offsets[n]), 1, outf);
games/monop/initdeck.c
190
fwrite(&num, sizeof(num), 1, outf);
games/monop/initdeck.c
208
fwrite(&num, sizeof(num), 1, outf);
games/monop/initdeck.c
94
fwrite(&deck[0].num_cards, sizeof(deck[0].num_cards), 1, outf);
games/monop/initdeck.c
95
fwrite(&deck[0].top_card, sizeof(deck[0].top_card), 1, outf);
games/monop/initdeck.c
96
fwrite(&deck[0].gojf_used, sizeof(deck[0].gojf_used), 1, outf);
games/monop/initdeck.c
98
fwrite(&deck[0].num_cards, sizeof(deck[0].num_cards), 1, outf);
games/monop/initdeck.c
99
fwrite(&deck[0].top_card, sizeof(deck[0].top_card), 1, outf);
games/phantasia/gamesupport.c
723
fwrite(&sbuf, SZ_SCORESTRUCT, 1, fp);
games/phantasia/interplayer.c
1119
fwrite(vp, SZ_VOIDSTRUCT, 1, Energyvoidfp);
games/phantasia/interplayer.c
849
fwrite(&Enrgyvoid, SZ_VOIDSTRUCT, 1, fp);
games/phantasia/interplayer.c
951
fwrite(&temp2, sizeof(double), 1, fp);
games/phantasia/misc.c
1614
fwrite(&dtemp, sizeof(double), 1, fp);
games/phantasia/misc.c
908
fwrite(&Curmonster, SZ_MONSTERSTRUCT, 1, Monstfp);
games/phantasia/misc.c
972
fwrite(playerp, SZ_PLAYERSTRUCT, 1, Playersfp);
games/phantasia/setup.c
140
fwrite(&Enrgyvoid, SZ_VOIDSTRUCT, 1, fp);
games/phantasia/setup.c
174
fwrite(&Curmonster, SZ_MONSTERSTRUCT, 1, Monstfp);
games/sail/misc.c
224
(void) fwrite((char *)log,
games/sail/misc.c
232
(void) fwrite((char *)&log[NLOG-1],
games/sail/misc.c
234
(void) fwrite((char *)lp,
games/sail/sync.c
282
(void) fwrite(sync_buf, sizeof *sync_buf, sync_bp - sync_buf,
games/snake/snake.c
547
if (fwrite(scores, sizeof(scores[0]), nscores, sf) < (u_int)nscores)
games/tetris/scores.c
188
if (fwrite(scores, sizeof(*sp), nscores, sf) != nscores ||
include/stdio.h
152
size_t fwrite(const void *, size_t, size_t, FILE *)
lib/libc/hidden/stdio.h
81
PROTO_NORMAL(fwrite);
lib/libc/rpc/xdr_stdio.c
113
if (fwrite(&mycopy, sizeof(int32_t), 1, (FILE *)xdrs->x_private) != 1)
lib/libc/rpc/xdr_stdio.c
131
if ((len != 0) && (fwrite(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
lib/libc/stdio/fwrite.c
89
DEF_STRONG(fwrite);
lib/libcbor/src/cbor.c
348
fwrite(cbor_string_handle(item), (int)cbor_string_length(item), 1, out);
lib/libcrypto/asn1/a_strex.c
107
if (fwrite(buf, 1, (size_t)len, arg) != (size_t)len)
lib/libcrypto/bio/bss_file.c
210
ret = fwrite(in, 1, inl, (FILE *)b->ptr);
lib/libcrypto/rand/randfile.c
123
i = fwrite(buf, 1, i, out);
lib/libcurses/base/lib_screen.c
926
if (fwrite(win, sizeof(WINDOW), (size_t) 1, filep) != 1
lib/libcurses/base/lib_screen.c
931
if (fwrite(win->_line[y].text,
lib/libcurses/tinfo/write_entry.c
95
actual = fwrite(buffer, sizeof(char), (size_t) offset, fp);
lib/libedit/readline.c
1233
} else if (fwrite(buf, (size_t)left, 1, tp) != 1) {
lib/libedit/readline.c
1240
if (fwrite(buf, sizeof(buf), 1, tp) != 1) {
lib/libedit/readline.c
1301
if (fwrite(buf, (size_t)left, 1, fp) != 1) {
lib/libkvm/kvm.c
558
if (fwrite(kd->kcore_hdr, sizeof(kcore_hdr_t), 1, fp) < 1) {
lib/libkvm/kvm.c
572
if (fwrite(&seghdr, sizeof(seghdr), 1, fp) < 1) {
lib/libkvm/kvm.c
581
if (fwrite(kd->cpu_data, kd->cpu_dsize, 1, fp) < 1) {
lib/libkvm/kvm.c
595
if (fwrite(&seghdr, sizeof(seghdr), 1, fp) < 1) {
lib/libpcap/savefile.c
413
(void)fwrite((char *)h, sizeof(*h), 1, f);
lib/libpcap/savefile.c
414
(void)fwrite((char *)sp, h->caplen, 1, f);
lib/libpcap/savefile.c
84
if (fwrite((char *)&hdr, sizeof(hdr), 1, fp) != 1)
regress/lib/libc/fmemopen/fmemopentest.c
143
len = fwrite("oh frabjous", 1, 11, s1);
regress/lib/libc/fmemopen/fmemopentest.c
179
len = fwrite("short", 1, 5, s1);
regress/lib/libc/fmemopen/fmemopentest.c
92
len = fwrite(" world", 1, 6, s1);
regress/lib/libc/orientation/orientation_test.c
210
TEST_NARROW(fwrite(buffer, 4, BUFSIZ / 4, f));
regress/lib/libc/popen/popen.c
65
if (fwrite(buffer, sizeof(char), BUFSIZE, pipe) != BUFSIZE)
regress/lib/libc/stdio_threading/fgetln/fgetln_test.c
61
if (fwrite(TEXT_N, sizeof(char), strlen(TEXT_N), sfp) == 0)
regress/lib/libc/stdio_threading/fgets/fgets_test.c
60
if (fwrite(TEXT_N, sizeof(char), strlen(TEXT_N), sfp) == 0)
regress/lib/libc/stdio_threading/fread/fread_test.c
62
if (fwrite(TEXT, sizeof(char), strlen(TEXT), sfp) == 0)
regress/lib/libc/stdio_threading/fwrite/fwrite_test.c
26
if (fwrite(TEXT, sizeof(char), strlen(TEXT), file) == 0) {
regress/lib/libcrypto/test/test.c
214
fwrite(buf, 1, buflen, stderr);
regress/lib/libz/minigzip.c
225
fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
regress/lib/libz/minigzip.c
275
fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
regress/lib/libz/minigzip.c
379
if ((int)fwrite(buf, 1, (unsigned)len, out) != len) {
regress/sys/kern/unveil/access.c
33
fwrite(header, strlen(header), 1, log);
regress/sys/kern/unveil/access.c
41
UV_SHOULD_SUCCEED((fwrite(perm, 1, strlen(perm), log) != strlen(perm)), "fwrite");
regress/sys/kern/unveil/access.c
42
UV_SHOULD_SUCCEED((fwrite(":", 1, 1, log) != 1), "fwrite");
regress/sys/kern/unveil/access.c
44
UV_SHOULD_SUCCEED((fwrite("R", 1, 1, log) != 1), "fwrite");
regress/sys/kern/unveil/access.c
46
UV_SHOULD_SUCCEED((fwrite("W", 1, 1, log) != 1), "fwrite");
regress/sys/kern/unveil/access.c
48
UV_SHOULD_SUCCEED((fwrite("X", 1, 1, log) != 1), "fwrite");
regress/sys/kern/unveil/access.c
50
UV_SHOULD_SUCCEED((fwrite("F", 1, 1, log) != 1), "fwrite");
regress/sys/kern/unveil/access.c
51
UV_SHOULD_SUCCEED((fwrite("\n", 1, 1, log) != 1), "fwrite");
regress/usr.bin/mandoc/db/binedit/binedit.c
98
if (fwrite(&i, sizeof(i), 1, stdout) != 1)
regress/usr.sbin/syslogd/ttylog.c
128
if (fwrite(buf, 1, n, lg) != (size_t)n)
regress/usr.sbin/syslogd/ttylog.c
225
if (fwrite(buf, 1, n, lg) != (size_t)n)
sbin/disklabel/editor.c
351
(void) fwrite(manpage, manpage_sz, 1, fp);
sbin/fdisk/cmd.c
562
fwrite(manpage, manpage_sz, 1, f);
sbin/isakmpd/log.c
203
if (fwrite(nbuf, strlen(nbuf), 1, log_output) == 0) {
sbin/isakmpd/log.c
455
fwrite((char *) &sf_hdr, sizeof sf_hdr, 1, packet_log);
sbin/isakmpd/log.c
588
fwrite(&hdr, hdrlen, 1, packet_log); /* pcap + IP */
sbin/isakmpd/log.c
589
fwrite(&udp, sizeof(struct udphdr), 1, packet_log); /* UDP */
sbin/isakmpd/log.c
591
fwrite(&espmarker, sizeof espmarker, 1, packet_log);
sbin/isakmpd/log.c
594
fwrite(packet_buf, datalen, 1, packet_log); /* IKE-data */
sbin/ncheck_ffs/ncheck_ffs.c
696
fwrite(buf, dst - buf, 1, stdout);
sbin/pfctl/pfctl.c
2990
if (fwrite(inbuf, sizeof(struct pfsync_state), n, f) < n)
sbin/pflogd/pflogd.c
390
if (fwrite((char *)&hdr, sizeof(hdr), 1, fp) != 1) {
sbin/pflogd/pflogd.c
488
if (fwrite((char *)h, sizeof(*h), 1, f) != 1) {
sbin/pflogd/pflogd.c
502
if (fwrite((char *)sp, h->caplen, 1, f) != 1)
sbin/pflogd/pflogd.c
530
if (fwrite(buffer, len, 1, f) != 1) {
sbin/quotacheck/quotacheck.c
452
fwrite((char *)&dqbuf, sizeof(struct dqblk), 1, qfo);
sbin/restore/dirs.c
411
(void)fwrite(dirbuf, 1, DIRBLKSIZ, df);
sbin/restore/dirs.c
426
(void)fwrite(dirbuf, dirloc, 1, df);
sbin/restore/dirs.c
710
(void)fwrite((char *)&node, 1, sizeof(struct modeinfo), mf);
sbin/restore/symtab.c
458
(void)fwrite(ep->e_name, sizeof(char),
sbin/restore/symtab.c
485
(void)fwrite((char *)tep, sizeof(struct entry), 1, fp);
sbin/restore/symtab.c
496
(void)fwrite((char *)&tentry, sizeof(struct entry *), 1, fp);
sbin/restore/symtab.c
505
(void)fwrite((char *)&hdr, sizeof(struct symtableheader), 1, fp);
sbin/savecore/savecore.c
490
nw = fwrite(buf, 1, nr, fp);
sbin/savecore/savecore.c
528
nw = fwrite(buf, 1, nr, fp);
sbin/unwind/libunbound/services/authzone.c
1639
r = fwrite(str, 1, len, out);
sbin/unwind/libunbound/util/configlexer.c
3890
#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
sys/dev/microcode/myx/build.c
75
if (fwrite(&ufw[total], rlen, 1, f) < 1) {
sys/dev/microcode/udl/build.c
44
if (fwrite(&bit_count, sizeof(bit_count), 1, file) != 1)
sys/dev/microcode/udl/build.c
46
if (fwrite(&bit_pattern, sizeof(bit_pattern), 1, file) != 1)
usr.bin/at/at.c
288
(void)fwrite(*atenv, sizeof(char), eqp - *atenv, fp);
usr.bin/awk/run.c
1426
fwrite(buf, len, 1, stdout);
usr.bin/awk/run.c
1432
fwrite(buf, len, 1, fp);
usr.bin/bgplg/bgplg.c
238
fwrite(buf, len, 1, stdout);
usr.bin/colrm/colrm.c
160
fwrite(p, 1, len, stdout);
usr.bin/cu/cu.c
371
fwrite(new_data, 1, new_size, record_file);
usr.bin/cvs/log.c
156
fwrite(dp, sizeof(char), (size_t)(sp - dp), stdout);
usr.bin/cvs/logmsg.c
151
fwrite(logmsg, st.st_size, 1, fp);
usr.bin/cvs/rcs.c
1489
(void)fwrite(sp, sizeof(u_char), ap - sp + 1, stream);
usr.bin/cvs/rcs.c
2138
ret = fwrite("M ", 1, 2, fp);
usr.bin/cvs/rcs.c
2144
ret = fwrite(lp->l_line, 1, lp->l_len, fp);
usr.bin/cvs/remote.c
199
rw = fwrite(data, sizeof(char), ret, out);
usr.bin/cvs/remote.c
235
ret = fwrite(data, sizeof(char), len, stdout);
usr.bin/diff3/diff3prog.c
570
(void)fwrite(block, 1, j, stdout);
usr.bin/fold/fold.c
189
fwrite(buf, 1, ++cp - buf, stdout);
usr.bin/fold/fold.c
242
fwrite(buf, 1, cp - buf, stdout);
usr.bin/fold/fold.c
256
fwrite(buf, 1, np - buf, stdout);
usr.bin/gprof/gprof.c
365
if ( fwrite( &gmonhdr , sizeof gmonhdr , 1 , sfile ) != 1 )
usr.bin/gprof/gprof.c
370
if (fwrite(samples, sizeof (UNIT), nsamples, sfile) != nsamples)
usr.bin/gprof/gprof.c
380
if (fwrite ( &arc , sizeof arc , 1 , sfile ) != 1)
usr.bin/grep/util.c
685
fwrite(line->dat + pmatch->rm_so,
usr.bin/grep/util.c
688
fwrite(line->dat, line->len, 1, stdout);
usr.bin/indent/io.c
237
fwrite(" * ", com_st[0] == '\t' ? 2 : com_st[0] == '*' ? 1 : 3, 1, output);
usr.bin/indent/io.c
240
fwrite(com_st, e_com - com_st, 1, output);
usr.bin/ldap/ldapclient.c
462
fwrite(p + outlen, left, 1, stdout);
usr.bin/less/lesskey.c
551
(void) fwrite(buf, sizeof (char), 1, fd);
usr.bin/less/lesskey.c
570
(void) fwrite(&c, sizeof (char), 1, fd);
usr.bin/less/lesskey.c
572
(void) fwrite(&c, sizeof (char), 1, fd);
usr.bin/lex/tables.c
268
rv = fwrite (v, 1, len, wr->out);
usr.bin/lex/tables.c
287
rv = fwrite (&vnet, bytes, 1, wr->out);
usr.bin/lex/tables.c
306
rv = fwrite (&vnet, bytes, 1, wr->out);
usr.bin/lex/tables.c
323
rv = fwrite (&v, bytes, 1, wr->out);
usr.bin/mail/fio.c
123
(void)fwrite(linebuf, sizeof(*linebuf), count, otf);
usr.bin/mail/fio.c
177
(void)fwrite(linebuf, sizeof(*linebuf), c, obuf);
usr.bin/mail/fio.c
305
return(fwrite((char *) mp, sizeof(*mp), 1, f) != 1);
usr.bin/mail/send.c
190
(void)fwrite(prefix, sizeof(*prefix),
usr.bin/mail/send.c
195
(void)fwrite(visline, sizeof(*visline), length, obuf);
usr.bin/mail/send.c
197
(void)fwrite(line, sizeof(*line), length, obuf);
usr.bin/mail/send.c
223
(void)fwrite(prefix, sizeof(*prefix),
usr.bin/mail/send.c
233
(void)fwrite(">", 1, 1, obuf); /* '>' before 'From ' */
usr.bin/mail/send.c
236
(void)fwrite(visline, sizeof(*visline), length, obuf);
usr.bin/mail/send.c
238
(void)fwrite(line, sizeof(*line), c, obuf);
usr.bin/mail/send.c
595
(void)fwrite(">", 1, 1, fo); /* '>' before 'From ' */
usr.bin/mail/send.c
596
(void)fwrite(buf, 1, strlen(buf), fo);
usr.bin/make/arch.c
844
(void)fwrite(&arHeader, sizeof(struct ar_hdr), 1, arch);
usr.bin/make/stats.c
156
fwrite(&n, sizeof(unsigned long), 1, f);
usr.bin/mandoc/dba_write.c
115
if (fwrite(&i, sizeof(i), 1, ofp) != 1)
usr.bin/mandoc/dba_write.c
91
if (nmemb - fwrite(&out, sizeof(out[0]), nmemb, ofp))
usr.bin/mandoc/html.c
1030
fwrite(h->buf, h->bufcol, 1, stdout);
usr.bin/mandoc/html.c
1049
fwrite(h->buf, h->bufcol, 1, stdout);
usr.bin/mandoc/html.c
1075
fwrite(h->buf, h->bufcol, 1, stdout);
usr.bin/mg/fileio.c
159
if (fwrite(ltext(lp), 1, llength(lp), ffp) != llength(lp)) {
usr.bin/mklocale/yacc.y
642
if (fwrite((char *)&file_new_locale, sizeof(file_new_locale), 1, fp) != 1)
usr.bin/mklocale/yacc.y
655
if (fwrite((char *)&re, sizeof(re), 1, fp) != 1)
usr.bin/mklocale/yacc.y
669
if (fwrite((char *)&re, sizeof(re), 1, fp) != 1)
usr.bin/mklocale/yacc.y
683
if (fwrite((char *)&re, sizeof(re), 1, fp) != 1)
usr.bin/mklocale/yacc.y
694
if (fwrite((char *)list->types,
usr.bin/mklocale/yacc.y
704
fwrite((char *)new_locale.rl_variable,
usr.bin/newsyslog/newsyslog.c
1101
fwrite(rb, 1, rd, fp);
usr.bin/nl/nl.c
301
(void)fwrite(buffer, linelen, 1, stdout);
usr.bin/pr/pr.c
1385
if (cnt && (fwrite(buf, sizeof(char), cnt, stdout) < cnt)) {
usr.bin/rcs/rcs.c
1466
(void)fwrite(sp, sizeof(u_char), ap - sp + 1, stream);
usr.bin/rcs/rcs.c
407
nwritten = fwrite(buf, sizeof(char), nread, dst);
usr.bin/rdist/docmd.c
180
(void) fwrite(buf, 1, len, pf);
usr.bin/script/script.c
294
(void)fwrite(obuf, 1, cc, fscript);
usr.bin/sdiff/edit.c
191
nwritten = fwrite(buf, sizeof(*buf), nread, outfp);
usr.bin/sed/process.c
451
fwrite(appends[idx].s, sizeof(char), appends[idx].len,
usr.bin/sed/process.c
466
(void)fwrite(buf, sizeof(char), count, outfile);
usr.bin/sed/process.c
81
fwrite(ps, 1, psl, outfile);\
usr.bin/sendbug/sendbug.c
146
if (fwrite(buf, 1, len, fp) != len)
usr.bin/sendbug/sendbug.c
222
if (fwrite(buf, 1, len, fp) != len)
usr.bin/sendbug/sendbug.c
241
if (fwrite(buf, 1, len, ofp) != len)
usr.bin/sendbug/sendbug.c
627
if (fwrite(buf, 1, len, ofp) != len)
usr.bin/sendbug/sendbug.c
652
if (fp && fwrite(buf, 1, len, fp) != len)
usr.bin/sort/bwstring.c
419
if (fwrite(bws->data.cstr, len + 1, 1, f) < 1)
usr.bin/sort/bwstring.c
423
} else if (fwrite(bws->data.cstr, len + 1, 1, f) < 1)
usr.bin/ssh/hostfile.c
487
if ((r = fwrite(sshbuf_ptr(entry), sshbuf_len(entry), 1, f)) != 1) {
usr.bin/ssh/sshkey.c
1386
if (fwrite(sshbuf_ptr(b), sshbuf_len(b), 1, f) != 1) {
usr.bin/telnet/utilities.c
692
fwrite(string, 1, strlen(string), stderr);
usr.bin/tic/reset_cmd.c
109
if (fwrite(buf, sizeof(char), nr, my_file) != nr) {
usr.bin/tmux/file.c
333
if (fwrite(bdata, 1, bsize, f) != bsize) {
usr.bin/tmux/popup.c
948
if (fwrite(buf, len, 1, f) != 1) {
usr.bin/uudecode/uudecode.c
445
fwrite(outbuf, 1, n, outfp);
usr.bin/vi/ex/ex_write.c
319
if (fwrite(p, 1, len, fp) != len)
usr.sbin/config/mkioconf.c
125
if (fwrite(buf, 1, n, ofp) != n)
usr.sbin/cron/atrun.c
585
fwrite(buf, nread, 1, mail);
usr.sbin/kgmon/kgmon.c
332
fwrite((char *)&h, sizeof(h), 1, fp);
usr.sbin/kgmon/kgmon.c
355
if ((fwrite(tickbuf, kvp->gpm.kcountsize, 1, fp)) != 1)
usr.sbin/kgmon/kgmon.c
411
fwrite((char *)&rawarc, sizeof(rawarc), 1, fp);
usr.sbin/ldomctl/ldomctl.c
213
fwrite(hvmd_buf, hvmd_len, 1, fp);
usr.sbin/ldomctl/ldomctl.c
221
fwrite(pri_buf, pri_len, 1, fp);
usr.sbin/ldomctl/ldomctl.c
237
fwrite(md_buf, md_len, 1, fp);
usr.sbin/ldomctl/mdesc.c
677
if (fwrite(buf, size, 1, fp) != 1)
usr.sbin/lpd/frontend_lpr.c
534
w = fwrite(data, 1, len, conn->ofp);
usr.sbin/lpr/common_source/displayq.c
160
(void)fwrite(line, 1, i, stdout);
usr.sbin/lpr/common_source/displayq.c
218
(void)fwrite(line, 1, i, stdout);
usr.sbin/lpr/common_source/displayq.c
300
(void)fwrite(visline, 1, n, stdout);
usr.sbin/lpr/common_source/rmjob.c
379
(void)fwrite(buf, 1, i, stdout);
usr.sbin/lpr/common_source/startdaemon.c
105
fwrite(buf, 1, n, stdout);
usr.sbin/lpr/lpc/cmds.c
859
(void)fwrite(line, 1, i, stdout);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
492
fwrite(&val, sizeof(val), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
495
fwrite(&val, sizeof(val), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
496
fwrite(&val, sizeof(val), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
497
fwrite(&val, sizeof(val), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
500
fwrite(&val, sizeof(val), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
503
fwrite(&val, sizeof(val), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
504
fwrite(&val, sizeof(val), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
505
fwrite(&val, sizeof(val), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
509
fwrite(&lba, sizeof(lba), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
511
fwrite(&lba, sizeof(lba), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
532
fwrite(&apm16, sizeof(apm16), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
534
fwrite(&apm16, sizeof(apm16), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
538
fwrite(&apm32, sizeof(apm32), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
541
fwrite(&apm32, sizeof(apm32), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
543
fwrite(&apm32, sizeof(apm32), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
545
fwrite(part_name, strlen(part_name) + 1, 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
547
fwrite(part_type, strlen(part_type) + 1, 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
552
fwrite(&apm32, sizeof(apm32), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
555
fwrite(&apm32, sizeof(apm32), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
558
fwrite(&apm32, sizeof(apm32), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
581
fwrite(&(e->entry_data.VE), 1, 32, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
600
fwrite(&sig, sizeof(sig), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
623
fwrite(&apm16, sizeof(apm16), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
626
fwrite(&apm16, sizeof(apm16), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
630
fwrite(&apm32, sizeof(apm32), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
633
fwrite(&apm16, sizeof(apm16), 1, fd);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
634
fwrite(&apm16, sizeof(apm16), 1, fd);
usr.sbin/makefs/cd9660/cd9660_write.c
306
(void)fwrite(&temp_record, 1,
usr.sbin/makefs/cd9660/cd9660_write.c
318
fwrite(temp->su_tail_data, 1,
usr.sbin/makefs/cd9660/cd9660_write.c
364
success = fwrite(buf, diskStructure->sectorSize * numsecs, 1, fd);
usr.sbin/makefs/cd9660/cd9660_write.c
415
fwrite(buf,1,bytes_read,fd);
usr.sbin/makefs/cd9660/cd9660_write.c
443
fwrite(&(myattr->attr), CD9660_SUSP_ENTRY_SIZE(myattr), 1, fd);
usr.sbin/mopd/mopa.out/mopa.out.c
202
fwrite (header, sizeof (header), 1, out);
usr.sbin/mopd/mopa.out/mopa.out.c
234
(void)fwrite(header, i, 1, out);
usr.sbin/mrouted/main.c
611
fwrite(buf, sizeof(u_int32_t), 4, f);
usr.sbin/nsd/ixfrcreate.c
23
if(!fwrite(&val, sizeof(val), 1, out)) {
usr.sbin/nsd/ixfrcreate.c
32
if(!fwrite(&val, sizeof(val), 1, out)) {
usr.sbin/nsd/ixfrcreate.c
42
if(!fwrite(&namelen, sizeof(namelen), 1, out)) {
usr.sbin/nsd/ixfrcreate.c
45
if(!fwrite(dname_name(dname), namelen, 1, out)) {
usr.sbin/nsd/ixfrcreate.c
68
if(!fwrite(buf, rdlen, 1, out))
usr.sbin/nsd/util.c
433
result = fwrite(data, 1, size, file);
usr.sbin/rpki-client/ccr.c
853
if (fwrite(vd->ccr.der, vd->ccr.der_len, 1, out) != 1)
usr.sbin/smtpd/compress_gzip.c
155
if (fwrite(obuf, r, 1, out) != 1)
usr.sbin/smtpd/crypto.c
107
if (len && fwrite(obuf, len, 1, out) != 1)
usr.sbin/smtpd/crypto.c
112
if (fwrite(tag, sizeof tag, 1, out) != 1)
usr.sbin/smtpd/crypto.c
189
if (len && fwrite(obuf, len, 1, out) != 1)
usr.sbin/smtpd/crypto.c
199
if (len && fwrite(obuf, len, 1, out) != 1)
usr.sbin/smtpd/crypto.c
79
if (fwrite(&version, 1, sizeof version, out) != sizeof version)
usr.sbin/smtpd/crypto.c
85
if (fwrite(iv, 1, sizeof iv, out) != sizeof iv)
usr.sbin/smtpd/crypto.c
98
if (len && fwrite(obuf, len, 1, out) != 1)
usr.sbin/smtpd/queue_fs.c
491
w = fwrite(evpbuf, 1, evplen, fp);
usr.sbin/smtpd/queue_ram.c
176
n = fwrite(msg->buf, 1, msg->len, f);
usr.sbin/smtpd/smtpc.c
397
if (fwrite(line, 1, len, mail.fp) != len)
usr.sbin/syslogc/syslogc.c
154
if (fwrite(&cc, sizeof(cc), 1, ctlf) != 1)
usr.sbin/tcpdump/privsep_pcap.c
467
if (fwrite((char *)&hdr, sizeof(hdr), 1, fp) != 1)
usr.sbin/unbound/services/authzone.c
1639
r = fwrite(str, 1, len, out);
usr.sbin/unbound/smallapp/unbound-anchor.c
1656
if(!fwrite(pp, (size_t)len, 1, stdout))
usr.sbin/unbound/smallapp/unbound-anchor.c
1933
if(fwrite(pp, (size_t)len, 1, out) != 1) {
usr.sbin/unbound/smallapp/unbound-anchor.c
2090
if(!fwrite(builtin_root_anchor, strlen(builtin_root_anchor), 1, out)) {
usr.sbin/unbound/testcode/checklocks.c
266
if(fwrite(info, 4*sizeof(int), 1, thr->order_info) != 1 ||
usr.sbin/unbound/testcode/checklocks.c
267
fwrite(lock->holder_file, strlen(lock->holder_file)+1, 1,
usr.sbin/unbound/testcode/checklocks.c
269
fwrite(&lock->holder_line, sizeof(int), 1,
usr.sbin/unbound/testcode/checklocks.c
282
if( fwrite(&cmd, sizeof(int), 1, thr->order_info) != 1 ||
usr.sbin/unbound/testcode/checklocks.c
283
fwrite(&lock->create_thread, sizeof(int), 1,
usr.sbin/unbound/testcode/checklocks.c
285
fwrite(&lock->create_instance, sizeof(int), 1,
usr.sbin/unbound/testcode/checklocks.c
287
fwrite(lock->create_file, strlen(lock->create_file)+1, 1,
usr.sbin/unbound/testcode/checklocks.c
289
fwrite(&lock->create_line, sizeof(int), 1,
usr.sbin/unbound/testcode/checklocks.c
720
if(fwrite(&t, sizeof(t), 1, thr->order_info) != 1 ||
usr.sbin/unbound/testcode/checklocks.c
721
fwrite(&thr->num, sizeof(thr->num), 1, thr->order_info) != 1 ||
usr.sbin/unbound/testcode/checklocks.c
722
fwrite(&check_lock_pid, sizeof(check_lock_pid), 1,
usr.sbin/unbound/testcode/doqclient.c
1202
if(fwrite(buf, 1, len, out) != (size_t)len) {
usr.sbin/unbound/testcode/unitauth.c
633
r = fwrite(s, 1, strlen(s), out);
usr.sbin/user/user.c
1384
if (fwrite(buf, strlen(buf), 1, to) != 1) {
usr.sbin/user/user.c
544
if (fwrite(buf, cc, 1, to) != 1) {
usr.sbin/user/user.c
671
if (fwrite(buf, cc, 1, to) != 1) {
usr.sbin/zic/zic.c
1302
fwrite(buf, sizeof buf, 1, fp);
usr.sbin/zic/zic.c
1311
fwrite(buf, sizeof buf, 1, fp);
usr.sbin/zic/zic.c
1542
#define DO(field) fwrite(tzh.field, sizeof tzh.field, 1, fp)
usr.sbin/zic/zic.c
1571
fwrite(&uc, sizeof uc, 1, fp);
usr.sbin/zic/zic.c
1580
fwrite(thischars, sizeof thischars[0], thischarcnt, fp);