Mon 14 Oct 23:06:38 CEST 2024
This commit is contained in:
parent
a7cad88073
commit
94af3a0210
17
kernel/pipe.h
Normal file
17
kernel/pipe.h
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#ifndef PIPE_H
|
||||||
|
#define PIPE_H
|
||||||
|
|
||||||
|
#include "kernel/types.h"
|
||||||
|
|
||||||
|
struct pipe *pipe_create();
|
||||||
|
struct pipe *pipe_addref( struct pipe *p );
|
||||||
|
void pipe_delete(struct pipe *p);
|
||||||
|
void pipe_flush(struct pipe *p);
|
||||||
|
|
||||||
|
int pipe_write(struct pipe *p, char *buffer, int size);
|
||||||
|
int pipe_write_nonblock(struct pipe *p, char *buffer, int size);
|
||||||
|
int pipe_read(struct pipe *p, char *buffer, int size);
|
||||||
|
int pipe_read_nonblock(struct pipe *p, char *buffer, int size);
|
||||||
|
int pipe_size( struct pipe *p);
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user