Tenok
A Linux-like Real-Time Operating System for Robotics and Internet of Things
Data Structures | Functions
pipe.h File Reference
#include <stdio.h>
#include <fs/fs.h>
#include <kernel/kfifo.h>
Include dependency graph for pipe.h:

Go to the source code of this file.

Data Structures

struct  pipe
 

Functions

int fifo_init (int fd, struct file **files, struct inode *file_inode, struct pipe *pipe)
 
ssize_t fifo_read (struct file *filp, char *buf, size_t size, off_t offset)
 
ssize_t fifo_write (struct file *filp, const char *buf, size_t size, off_t offset)