summaryrefslogtreecommitdiff
path: root/src/user/include/knob/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/include/knob/task.h')
-rw-r--r--src/user/include/knob/task.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/user/include/knob/task.h b/src/user/include/knob/task.h
index 6539a00..cd51c37 100644
--- a/src/user/include/knob/task.h
+++ b/src/user/include/knob/task.h
@@ -1,11 +1,12 @@
#ifndef KNOB_TASK_H
#define KNOB_TASK_H
+#include <pland/syscall.h>
+
#include <stdint.h>
#include <stdbool.h>
-uint32_t run_command(const char *path);
-bool try_run_command_blocking(const char *path);
-void yield_task();
+uint32_t run_command(const char *path, _task_handle_t stdio_task);
+bool try_run_command_blocking(const char *path, _task_handle_t stdio_task);
#endif \ No newline at end of file