diff options
Diffstat (limited to 'output.h')
-rw-r--r-- | output.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -22,10 +22,14 @@ struct output }; extern struct output *output_context; +extern unsigned int stdio_traced; #define OUTPUT_SET(_new) do{ if ((_new)->syncout) output_context = (_new); }while(0) #define OUTPUT_UNSET() do{ output_context = NULL; }while(0) +#define OUTPUT_TRACED() do{ stdio_traced = 1; }while(0) +#define OUTPUT_IS_TRACED() (!!stdio_traced) + FILE *output_tmpfile (char **, const char *); /* Initialize and close a child output structure: if NULL do this program's |