aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/term_tag.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-07-21 15:10:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-07-21 15:10:01 +0000
commit34c3fd437f1b1a9f91c688bf395a99c631b642ed (patch)
tree457254f96054c09e8e8c023fc4e684b34c589021 /term_tag.h
parenteb396f5b0bb17fecfc3db0045d2979fa42d4478d (diff)
downloadmandoc-34c3fd437f1b1a9f91c688bf395a99c631b642ed.tar.gz
mandoc-34c3fd437f1b1a9f91c688bf395a99c631b642ed.tar.zst
mandoc-34c3fd437f1b1a9f91c688bf395a99c631b642ed.zip
undocumented options -O outfilename and -O tagfilename
to support regression testing without a tty; no user visible change intended
Diffstat (limited to 'term_tag.h')
-rw-r--r--term_tag.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/term_tag.h b/term_tag.h
index b0a1c158..f290cf51 100644
--- a/term_tag.h
+++ b/term_tag.h
@@ -1,4 +1,4 @@
-/* $Id: term_tag.h,v 1.2 2020/04/02 22:12:55 schwarze Exp $ */
+/* $Id: term_tag.h,v 1.3 2020/07/21 15:10:01 schwarze Exp $ */
/*
* Copyright (c) 2015, 2018, 2019, 2020 Ingo Schwarze <schwarze@openbsd.org>
*
@@ -19,8 +19,8 @@
*/
struct tag_files {
- char ofn[20]; /* Output file name. */
- char tfn[20]; /* Tag file name. */
+ char ofn[80]; /* Output file name. */
+ char tfn[80]; /* Tag file name. */
FILE *tfs; /* Tag file object. */
int ofd; /* Original output file descriptor. */
pid_t tcpgid; /* Process group controlling the terminal. */
@@ -28,7 +28,7 @@ struct tag_files {
};
-struct tag_files *term_tag_init(void);
+struct tag_files *term_tag_init(const char *, const char *);
void term_tag_write(struct roff_node *, size_t);
int term_tag_close(void);
void term_tag_unlink(void);