diff options
author | Roy Marples <roy@marples.name> | 2007-04-24 11:29:19 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-04-24 11:29:19 +0000 |
commit | a44abb9577a3ccb9202b84765d4b4c1746e6963d (patch) | |
tree | 9d0a3df13709385b55dc407a23d3ce94a2b52308 /src/einfo.h | |
parent | c965f74f46b266987ed635e65fafc9562a7ccff5 (diff) |
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.
Diffstat (limited to 'src/einfo.h')
-rw-r--r-- | src/einfo.h | 10 |
1 files changed, 7 insertions, 3 deletions
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 |