Home
last modified time | relevance | path

Searched refs:ofn (Results 1 – 9 of 9) sorted by relevance

/freebsd-12-stable/contrib/mandoc/
Dterm_tag.c89 (void)snprintf(tag_files.ofn, sizeof(tag_files.ofn), in term_tag_init()
91 if ((ofd = mkstemps(tag_files.ofn, strlen(suffix))) == -1) { in term_tag_init()
93 "%s: %s", tag_files.ofn, strerror(errno)); in term_tag_init()
97 (void)strlcpy(tag_files.ofn, outfilename, in term_tag_init()
98 sizeof(tag_files.ofn)); in term_tag_init()
164 len, cp, tag_files.ofn, line); in term_tag_write()
204 if (strncmp(tag_files.ofn, "/tmp/man.", 9) == 0) { in term_tag_unlink()
205 unlink(tag_files.ofn); in term_tag_unlink()
206 *tag_files.ofn = '\0'; in term_tag_unlink()
Dterm_tag.h22 char ofn[80]; /* Output file name. */ member
Dmain.c957 outst->tag_files->ofn, strerror(errno)); in process_onefile()
1367 outst->tag_files->ofn, tag_target); in spawn_pager()
1369 argv[argc] = outst->tag_files->ofn; in spawn_pager()
/freebsd-12-stable/tools/test/ppsapi/
Dppsapitest.c41 char const *ofn; in main() local
43 ofn = NULL; in main()
53 case 'o': ofn = optarg; break; in main()
63 if (ofn != NULL) { in main()
64 fdo = fopen(ofn, "w"); in main()
66 err(1, "Cannot open %s", ofn); in main()
179 err(1, "Write error on %s", ofn); in main()
/freebsd-12-stable/usr.bin/time/
Dtime.c85 char *ofn = NULL; in main() local
104 ofn = optarg; in main()
118 if (ofn) { in main()
119 if ((out = fopen(ofn, aflag ? "ae" : "we")) == NULL) in main()
120 err(1, "%s", ofn); in main()
/freebsd-12-stable/contrib/elftoolchain/elfcopy/
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) in create_srec() argument
106 srec_write_symtab(ofd, ofn, e, scn, &sh); in create_srec()
157 srec_write_S0(ofd, ofn); in create_srec()
744 srec_write_symtab(int ofd, const char *ofn, Elf *e, Elf_Scn *scn, GElf_Shdr *sh) in srec_write_symtab() argument
770 snprintf(line, sizeof(line), "$$ %s\r\n", ofn); in srec_write_symtab()
796 srec_write_S0(int ofd, const char *ofn) in srec_write_S0() argument
799 srec_write(ofd, '0', 0, ofn, strlen(ofn)); in srec_write_S0()
/freebsd-12-stable/usr.bin/unifdef/
Dunifdef.c384 processinout(const char *ifn, const char *ofn) in processinout() argument
399 if (strcmp(ofn, "-") == 0) { in processinout()
404 if (stat(ofn, &st) < 0) { in processinout()
405 output = fopen(ofn, "wb"); in processinout()
407 err(2, "can't create %s", ofn); in processinout()
412 tempname = astrcat(ofn, ".XXXXXX"); in processinout()
420 char *backname = astrcat(ofn, backext); in processinout()
421 if (rename(ofn, backname) < 0) in processinout()
422 err(2, "can't rename \"%s\" to \"%s\"", ofn, backname); in processinout()
429 } else if (replace(tempname, ofn) < 0) in processinout()
[all …]
/freebsd-12-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
Dmerge.c750 fndef_t *ofn = old->t_fndef; in conjure_function() local
753 (void) remap_node(&nfn->fn_ret, ofn->fn_ret, old->t_id, new, mcd); in conjure_function()
755 nfn->fn_nargs = ofn->fn_nargs; in conjure_function()
756 nfn->fn_vargs = ofn->fn_vargs; in conjure_function()
759 nfn->fn_args = xcalloc(sizeof (tdesc_t *) * ofn->fn_nargs); in conjure_function()
761 for (i = 0; i < (int) ofn->fn_nargs; i++) { in conjure_function()
762 (void) remap_node(&nfn->fn_args[i], ofn->fn_args[i], old->t_id, in conjure_function()
/freebsd-12-stable/crypto/openssh/
Dchannels.c1062 channel_outfilter_fn *ofn, channel_filter_cleanup_fn *cfn, void *ctx) in channel_register_filter() argument
1071 c->output_filter = ofn; in channel_register_filter()