Searched refs:ofn (Results 1 - 12 of 12) sorted by relevance

/freebsd-current/contrib/mandoc/
H A Dterm_tag.h22 char ofn[80]; /* Output file name. */ member in struct:tag_files
H A Dterm_tag.c89 (void)snprintf(tag_files.ofn, sizeof(tag_files.ofn),
91 if ((ofd = mkstemps(tag_files.ofn, strlen(suffix))) == -1) {
93 "%s: %s", tag_files.ofn, strerror(errno));
97 (void)strlcpy(tag_files.ofn, outfilename,
98 sizeof(tag_files.ofn));
164 len, cp, tag_files.ofn, line);
204 if (strncmp(tag_files.ofn, "/tmp/man.", 9) == 0) {
205 unlink(tag_files.ofn);
206 *tag_files.ofn
[all...]
H A Dmain.c957 outst->tag_files->ofn, strerror(errno));
1367 outst->tag_files->ofn, tag_target);
1369 argv[argc] = outst->tag_files->ofn;
/freebsd-current/tests/sys/fs/tarfs/
H A Dtarsum.c36 tarsum(FILE *in, const char *ifn, FILE *out, const char *ofn) argument
73 err(1, "%s", ofn);
75 errx(1, "%s: Short write", ofn);
91 const char *ifn, *ofn = NULL; local
98 ofn = optarg;
119 if (ofn == NULL || strcmp(ofn, "-") == 0) {
120 ofn = "stdout";
123 if ((out = fopen(ofn, "wb")) == NULL)
124 err(1, "%s", ofn);
[all...]
/freebsd-current/tools/test/ppsapi/
H A Dppsapitest.c39 char const *ofn; local
41 ofn = NULL;
51 case 'o': ofn = optarg; break;
61 if (ofn != NULL) {
62 fdo = fopen(ofn, "w");
64 err(1, "Cannot open %s", ofn);
177 err(1, "Write error on %s", ofn);
/freebsd-current/usr.bin/time/
H A Dtime.c71 char *ofn = NULL; local
90 ofn = optarg;
104 if (ofn) {
105 if ((out = fopen(ofn, aflag ? "ae" : "we")) == NULL)
106 err(1, "%s", ofn);
/freebsd-current/sys/contrib/zstd/examples/
H A Dmultiple_simple_compression.c27 * as well as memory for output file name (ofn)
29 static resources createResources_orDie(int argc, const char** argv, char **ofn, size_t* ofnBufferLen) argument
49 *ofn = (char*)malloc_orDie(*ofnBufferLen);
/freebsd-current/usr.bin/uniq/
H A Duniq.c87 const char *errstr, *ifn, *ofn; local
145 ofn = "stdout";
153 ofp = file(ofn = argv[1], "w");
245 err(1, "%s", ofn);
/freebsd-current/contrib/elftoolchain/elfcopy/
H A Dascii.c62 static void srec_write_symtab(int ofd, const char *ofn, Elf *e, Elf_Scn *scn,
64 static void srec_write_S0(int ofd, const char *ofn);
78 create_srec(struct elfcopy *ecp, int ifd, int ofd, const char *ofn) argument
106 srec_write_symtab(ofd, ofn, e, scn, &sh);
157 srec_write_S0(ofd, ofn);
744 srec_write_symtab(int ofd, const char *ofn, Elf *e, Elf_Scn *scn, GElf_Shdr *sh) argument
770 snprintf(line, sizeof(line), "$$ %s\r\n", ofn);
796 srec_write_S0(int ofd, const char *ofn) argument
799 srec_write(ofd, '0', 0, ofn, strlen(ofn));
[all...]
/freebsd-current/contrib/unifdef/
H A Dunifdef.c396 processinout(const char *ifn, const char *ofn) argument
411 if (strcmp(ofn, "-") == 0) {
416 if (stat(ofn, &st) < 0) {
417 output = fopen(ofn, "wb");
419 err(2, "can't create %s", ofn);
424 tempname = astrcat(ofn, ".XXXXXX");
432 char *backname = astrcat(ofn, backext);
433 if (rename(ofn, backname) < 0)
434 err(2, "can't rename \"%s\" to \"%s\"", ofn, backname);
441 } else if (replace(tempname, ofn) <
[all...]
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dmerge.c750 fndef_t *ofn = old->t_fndef; local
753 (void) remap_node(&nfn->fn_ret, ofn->fn_ret, old->t_id, new, mcd);
755 nfn->fn_nargs = ofn->fn_nargs;
756 nfn->fn_vargs = ofn->fn_vargs;
759 nfn->fn_args = xcalloc(sizeof (tdesc_t *) * ofn->fn_nargs);
761 for (i = 0; i < (int) ofn->fn_nargs; i++) {
762 (void) remap_node(&nfn->fn_args[i], ofn->fn_args[i], old->t_id,
/freebsd-current/crypto/openssh/
H A Dchannels.c1214 channel_outfilter_fn *ofn, channel_filter_cleanup_fn *cfn, void *ctx)
1223 c->output_filter = ofn;
1213 channel_register_filter(struct ssh *ssh, int id, channel_infilter_fn *ifn, channel_outfilter_fn *ofn, channel_filter_cleanup_fn *cfn, void *ctx) argument

Completed in 190 milliseconds