From a44abb9577a3ccb9202b84765d4b4c1746e6963d Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 24 Apr 2007 11:29:19 +0000 Subject: We now buffer stdout and stderr to a file and flush that when running in parallel. RC_PARALLEL_STARTUP has been renamed to RC_PARALLEL. --- src/einfo.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/einfo.h') diff --git a/src/einfo.h b/src/einfo.h index a99af240..e1953772 100644 --- a/src/einfo.h +++ b/src/einfo.h @@ -64,8 +64,12 @@ int ewendv (int retval, const char *fmt, ...) EINFO_PRINTF (2, 3); void eindentv (void); void eoutdentv (void); -/* If RC_EBUFFER is set, then we buffer all the above commands. - As such, we need to flush the buffer when done. */ -void eflush(void); +/* Handy utils to buffer stdout and stderr so our output is always + * sane when forking around. + * Don't depend on these being here though as we may take a different + * approach at a later date. */ +void ebuffer (const char *file); +void eflush (void); +void eclose (void); #endif -- cgit v1.2.3