summaryrefslogtreecommitdiff
path: root/src/kernel/pipe.h
blob: 2a90738fa5a79ffa7d2b60018f23564c2ec0b042 (plain)
1
2
3
4
5
6
7
8
9
#pragma once
#include <kernel/proc.h>
#include <stdbool.h>

/* 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_invalidate_end(struct handle *h);