nuttx/drivers/pipes
fangxinyong 7e90855d76 drivers/pipe: implement pipe mmap just return ENODEV
The fd of pipe type is not supported by mmap, mmap() shall failed
with ENODEV. If pipe mmap is not implemented, mmap will forward to
rammap() and get unexpected error.

Implement pipe mmap just return ENODEV. That is to pass LTP posix
test case mmap/23-1.c

https://pubs.opengroup.org/onlinepubs/9699919799/functions/mmap.html

Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
2023-08-02 22:57:28 -07:00
..
CMakeLists.txt
fifo.c
Kconfig
Make.defs
pipe_common.c
pipe_common.h
pipe.c drivers/pipe: implement pipe mmap just return ENODEV 2023-08-02 22:57:28 -07:00