From caec20e9886fd6d0437b59a9de48a7b686a2cc09 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 6 Jul 2022 19:46:35 +0200 Subject: kernel/pipes: read & write support --- src/kernel/pipe.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/kernel/pipe.h (limited to 'src/kernel/pipe.h') diff --git a/src/kernel/pipe.h b/src/kernel/pipe.h new file mode 100644 index 0000000..facaaaa --- /dev/null +++ b/src/kernel/pipe.h @@ -0,0 +1,7 @@ +#pragma once +#include + +void pipe_joinqueue(struct handle *h, bool wants_write, + struct process *proc, void __user *pbuf, size_t pbuflen); + +void pipe_trytransfer(struct handle *h); -- cgit v1.2.3