diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-06 09:31:21 -0500 | 
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-06 09:31:21 -0500 | 
| commit | 5e58d1a75edb3b057fe7291f3835c9ded076b0c8 (patch) | |
| tree | 8863f36dac47a3747f06965b1403c34bcdfd5803 /include | |
| parent | 03d49ec76e6c4460627b8ebcbd065b0dfac551ae (diff) | |
| download | stasis-5e58d1a75edb3b057fe7291f3835c9ded076b0c8.tar.gz | |
Refactor std{out,err} to f_std{out,err}
* Bare stdout and stderr, even as struct members, tend to conflict with numerous libc implementations.
Diffstat (limited to 'include')
| -rw-r--r-- | include/system.h | 8 | 
1 files changed, 6 insertions, 2 deletions
| 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 <sys/stat.h>  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;  }; | 
