Searched refs:tfn (Results 1 – 5 of 5) sorted by relevance
| /openbsd/src/usr.bin/mandoc/ |
| D | term_tag.c | 106 (void)strlcpy(tag_files.tfn, "/tmp/man.XXXXXXXXXX", in term_tag_init() 107 sizeof(tag_files.tfn)); in term_tag_init() 108 if ((tfd = mkstemp(tag_files.tfn)) == -1) { in term_tag_init() 110 "%s: %s", tag_files.tfn, strerror(errno)); in term_tag_init() 114 (void)strlcpy(tag_files.tfn, tagfilename, in term_tag_init() 115 sizeof(tag_files.tfn)); in term_tag_init() 206 if (strncmp(tag_files.tfn, "/tmp/man.", 9) == 0) { in term_tag_unlink() 207 unlink(tag_files.tfn); in term_tag_unlink() 208 *tag_files.tfn = '\0'; in term_tag_unlink()
|
| D | mandocdb.c | 2161 char tfn[33], *cp1, *cp2; in dbwrite() local 2196 (void)strlcpy(tfn, "/tmp/mandocdb.XXXXXXXX", sizeof(tfn)); in dbwrite() 2197 if (mkdtemp(tfn) == NULL) { in dbwrite() 2199 say("", "&%s", tfn); in dbwrite() 2204 (void)strlcat(tfn, "/" MANDOC_DB, sizeof(tfn)); in dbwrite() 2205 if (dba_write(tfn, dba) == -1) { in dbwrite() 2206 say(tfn, "&dba_write"); in dbwrite() 2213 if ((fd2 = open(tfn, O_RDONLY)) == -1) { in dbwrite() 2214 say(tfn, "&open"); in dbwrite() 2222 say(tfn, "&fstat"); in dbwrite() [all …]
|
| D | term_tag.h | 23 char tfn[80]; /* Tag file name. */ member
|
| D | main.c | 1297 if (*outst->tag_files->tfn != '\0' && in spawn_pager() 1302 argv[argc++] = mandoc_strdup(outst->tag_files->tfn); in spawn_pager()
|
| /openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/27_io/ |
| D | istream_unformatted.cc | 470 const char* tfn = "istream_unformatted-1.txt"; in test07() local 472 infile.open(tfn); in test07()
|