From 5e58d1a75edb3b057fe7291f3835c9ded076b0c8 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 6 Feb 2024 09:31:21 -0500 Subject: Refactor std{out,err} to f_std{out,err} * Bare stdout and stderr, even as struct members, tend to conflict with numerous libc implementations. --- include/system.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/system.h') diff --git a/include/system.h b/include/system.h index 8ad613f..cdbefd8 100644 --- a/include/system.h +++ b/include/system.h @@ -15,9 +15,13 @@ #include struct Process { - char stdout[PATH_MAX]; - char stderr[PATH_MAX]; + // Write stdout stream to file + char f_stdout[PATH_MAX]; + // Write stderr stream to file + char f_stderr[PATH_MAX]; + // Combine stderr and stdout (into stdout stream) int redirect_stderr; + // Exit code from program int returncode; }; -- cgit