diff options
author | dzwdz | 2022-07-06 19:46:35 +0200 |
---|---|---|
committer | dzwdz | 2022-07-06 19:46:35 +0200 |
commit | caec20e9886fd6d0437b59a9de48a7b686a2cc09 (patch) | |
tree | 2b2e06d90876168a81fdcda15029cd1a2eaffd0a /src/kernel/pipe.h | |
parent | a89984d7200381d7b8035c48124d93105d59cf24 (diff) |
kernel/pipes: read & write support
Diffstat (limited to 'src/kernel/pipe.h')
-rw-r--r-- | src/kernel/pipe.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 <kernel/proc.h> + +void pipe_joinqueue(struct handle *h, bool wants_write, + struct process *proc, void __user *pbuf, size_t pbuflen); + +void pipe_trytransfer(struct handle *h); |