mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 04:58:28 +00:00
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> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| fifo.c | ||
| Kconfig | ||
| Make.defs | ||
| pipe.c | ||
| pipe_common.c | ||
| pipe_common.h | ||