wasm-micro-runtime/core/shared/platform/linux
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
..
platform_init.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +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 re-org platform APIs, simplify porting process (#201) 2020-03-16 16:43:57 +08:00