/src/common/dist/zlib/contrib/iostream3/ |
test.cc | 13 gzofstream outf; local in function:main 17 outf.open("test1.txt.gz"); 18 outf << "The quick brown fox sidestepped the lazy canine\n" 20 outf.close(); 32 outf.rdbuf()->pubsetbuf(0,0); 33 outf.open("test2.txt.gz"); 34 outf << setcompression(Z_NO_COMPRESSION) 37 outf.close();
|
/src/games/mille/ |
extern.c | 167 FILE *outf; variable in typeref:typename:FILE *
|
/src/common/dist/zlib/contrib/blast/ |
blast.c | 440 local int outf(void *how, unsigned char *buf, unsigned len) function in typeref:typename:local int 453 ret = blast(inf, stdin, outf, stdout, &left, NULL);
|
/src/games/fortune/strfile/ |
strfile.c | 156 FILE *inf, *outf; local in function:main 173 if ((outf = fopen(Outfile, "w")) == NULL) 176 (void) fseek(outf, sizeof Tbl, SEEK_SET); 187 add_offset(outf, ftell(inf)); 197 add_offset(outf, pos); 244 (void) fseek(outf, (off_t) 0, SEEK_SET); 250 (void) fwrite((char *) &Tbl, sizeof Tbl, 1, outf); 253 fwrite_be_offt(Seekpts[i], outf); 255 fflush(outf); 256 if (ferror(outf)) [all...] |
/src/games/monop/ |
execute.c | 245 FILE *outf; local in function:save 266 outf = fopen(buf, "w"); 267 if (outf == NULL) { 275 fprintf(outf, "NetBSD monop format v%d\n", CUR_FORMAT_VERSION); 276 fprintf(outf, "time %s", ctime(&t)); /* ctime includes a \n */ 277 fprintf(outf, "numplayers %d\n", num_play); 278 fprintf(outf, "currentplayer %d\n", player); 279 fprintf(outf, "doubles %d\n", num_doub); 283 fprintf(outf, "player %d {\n", i); 284 fprintf(outf, " name %s\n", name_list[i]) [all...] |
/src/usr.bin/ctags/ |
ctags.c | 68 FILE *outf; /* ioptr for tags file */ variable in typeref:typename:FILE * 217 if (!(outf = fopen(outfile, aflag ? "a" : "w"))) 220 (void)fflush(outf); 221 if (ferror(outf)) 223 (void)fclose(outf);
|
/src/bin/pax/ |
ar_io.c | 1638 FILE *outf; local in function:ar_summary 1641 outf = stdout; 1643 outf = stderr; 1664 (void)fprintf(outf, "%s: %s", argv0, buf); 1692 (void)fprintf(outf, "%s: %s", argv0, buf);
|
/src/usr.bin/msgs/ |
msgs.c | 631 FILE *outf; local in function:prmesg 644 outf = popen(cmdbuf, "w"); 645 if (!outf) 646 outf = stdout; 648 setbuf(outf, NULL); 651 outf = stdout; 654 putc('\n', outf); 657 fputs(inbuf, outf); 658 if (ferror(outf)) { 659 clearerr(outf); [all...] |
/src/usr.sbin/lockstat/ |
main.c | 172 const char *nlistf, *outf; local in function:main 180 outf = NULL; 235 outf = optarg; 258 if (outf) { 259 fd = open(outf, O_WRONLY | O_CREAT | O_TRUNC, 0600); 261 err(EXIT_FAILURE, "opening %s", outf);
|