diff options
author | dzwdz | 2022-07-30 14:52:22 +0200 |
---|---|---|
committer | dzwdz | 2022-07-30 14:52:22 +0200 |
commit | b26399ad055aae9ef4b01694967515235568cd85 (patch) | |
tree | f8eec54655b5461e00596d7aa1f2a27aa5fede25 /src/user/app/shell/shell.h | |
parent | 9efd7f96b028a69b1da0cf53f6d7be71048c73d7 (diff) |
user: stderr
Diffstat (limited to 'src/user/app/shell/shell.h')
-rw-r--r-- | src/user/app/shell/shell.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/user/app/shell/shell.h b/src/user/app/shell/shell.h index 4c7eeb3..5097e00 100644 --- a/src/user/app/shell/shell.h +++ b/src/user/app/shell/shell.h @@ -2,6 +2,8 @@ #include <stdbool.h> #include <stddef.h> +#define eprintf(fmt, ...) fprintf(stderr, "sh: "fmt"\n" __VA_OPT__(,) __VA_ARGS__) + struct redir { const char *stdout; bool append; |