aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/process.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index fa15641..1a4b032 100644
--- a/src/process.c
+++ b/src/process.c
@@ -114,6 +114,13 @@ close_pipe:
return ret;
}
+void proc_output_init(struct proc_output *output)
+{
+ output->ec = 0;
+ output->output = NULL;
+ output->output_len = 0;
+}
+
void proc_output_free(const struct proc_output *output)
{
free(output->output);