Searched refs:tag_files (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | term_tag.c | 41 static struct tag_files tag_files; variable 49 struct tag_files * 58 tag_files.tfs = NULL; in term_tag_init() 59 tag_files.tcpgid = -1; in term_tag_init() 81 if ((tag_files.ofd = dup(STDOUT_FILENO)) == -1) { in term_tag_init() 89 (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() [all …]
|
H A D | term_tag.h | 21 struct tag_files { struct 31 struct tag_files *term_tag_init(const char *, const char *, const char *); argument
|
H A D | main.c | 85 struct tag_files *tag_files; /* Tagging state variables. */ member 210 outst.tag_files = NULL; in main() 658 if (outst.tag_files != NULL) { in main() 898 outst->tag_files = term_tag_init(conf->output.outfilename, in process_onefile() 925 if (outst->tag_files != NULL) { in process_onefile() 927 outst->tag_files->ofn, strerror(errno)); in process_onefile() 929 outst->tag_files = NULL; in process_onefile() 1228 outst->tag_files->tcpgid = in run_pager() 1243 outst->tag_files->tcpgid = tc_pgid; in run_pager() 1288 assert(outst->tag_files->ofd == -1); in spawn_pager() [all …]
|