[libc] Fix the unamed pipe close issue

This commit is contained in:
Bernard Xiong
2019-03-31 15:21:49 +08:00
parent c9bcfcc63c
commit ff00378728
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;