diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2021-04-04 10:43:26 -0400 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2021-04-04 12:15:26 -0400 |
commit | 5710a8bd7fc3d5a3e46f108c16199ed7553515f0 (patch) | |
tree | 456e0ed7aeff549d0177f02f225821c4edde9b12 /src/calcurse.h | |
parent | f41955e491476dfb844f28f46523d0430d27c88a (diff) | |
download | calcurse-5710a8bd7fc3d5a3e46f108c16199ed7553515f0.tar.gz calcurse-5710a8bd7fc3d5a3e46f108c16199ed7553515f0.zip |
Add parameter to redirect stderr to shell_exec()
Add a function parameter to allows redirecting stderr in addition to
stdin and stdout. The parameter will be used with a follow-up change.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index bd351d6..b006a77 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -1251,9 +1251,9 @@ int parse_date_increment(const char *, unsigned *, time_t); int parse_datetime(const char *, time_t *, time_t); void file_close(FILE *, const char *); void psleep(unsigned); -int fork_exec(int *, int *, const char *, const char *const *); -int shell_exec(int *, int *, const char *, const char *const *); -int child_wait(int *, int *, int); +int fork_exec(int *, int *, int *, const char *, const char *const *); +int shell_exec(int *, int *, int *, const char *, const char *const *); +int child_wait(int *, int *, int *, int); void press_any_key(void); void print_apoint(const char *, time_t, struct apoint *); void print_event(const char *, time_t, struct event *); |