wasm-micro-runtime/core/shared/platform/nuttx
Huang Qi 24aa1cb408
Extend os_mmap to support map file from fd (#2763)
Add an extra argument `os_file_handle file` for `os_mmap` to support
mapping file from a file fd, and remove `os_get_invalid_handle` from
`posix_file.c` and `win_file.c`, instead, add it in the `platform_internal.h`
files to remove the dependency on libc-wasi.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-11-16 08:28:54 +08:00
..
nuttx_platform.c Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
platform_internal.h Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
shared_platform.cmake Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00