summaryrefslogtreecommitdiff
path: root/src/kernel/pipe.h
diff options
context:
space:
mode:
authordzwdz2022-08-11 22:29:48 +0200
committerdzwdz2022-08-11 22:29:48 +0200
commit162395700b100943eb019ce2b363f4d6ed03ab1a (patch)
tree69f3e3905a6e2a162de91e7f2e1f8336dc045d4b /src/kernel/pipe.h
parent35e5e715070db6c4862f70fb05008fcb88420db9 (diff)
kernel/syscalls: merge a few syscalls into vfsop_simple
Those had a lot of repeating code, but I'm not sure if this is the right change. Well, apart from making pipe_joinqueue more consistent.
Diffstat (limited to 'src/kernel/pipe.h')
-rw-r--r--src/kernel/pipe.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/kernel/pipe.h b/src/kernel/pipe.h
index 9040ab1..2a90738 100644
--- a/src/kernel/pipe.h
+++ b/src/kernel/pipe.h
@@ -2,10 +2,8 @@
#include <kernel/proc.h>
#include <stdbool.h>
-/* returns false on failure */
-bool pipe_joinqueue(struct handle *h, bool wants_write,
+/* eventually transitions to PS_RUNNING */
+void pipe_joinqueue(struct handle *h, bool wants_write,
struct process *proc, void __user *pbuf, size_t pbuflen);
-void pipe_trytransfer(struct handle *h);
-
void pipe_invalidate_end(struct handle *h);