Merge pull request #2526 from BernardXiong/fix_pipe

[libc] Fix the unamed pipe close issue
This commit is contained in:
Bernard Xiong
2019-04-01 18:10:44 +08:00
committed by GitHub
2 changed files with 9 additions and 0 deletions

View File

@@ -24,6 +24,7 @@
struct rt_pipe_device
{
struct rt_device parent;
rt_bool_t is_named;
/* ring buffer in pipe device */
struct rt_ringbuffer *fifo;