[posix] [pipe] add IPC for POSIX and add pipe for it

This commit is contained in:
Meco Man
2021-12-07 02:18:58 -05:00
committed by Bernard Xiong
parent 3b007a7bbc
commit 7ff976dab3
5 changed files with 33 additions and 24 deletions

View File

@@ -15,12 +15,6 @@
#include <rtthread.h>
#include <rtdevice.h>
#ifndef RT_PIPE_BUFSZ
#define PIPE_BUFSZ 512
#else
#define PIPE_BUFSZ RT_PIPE_BUFSZ
#endif
struct rt_pipe_device
{
struct rt_device parent;