wasm-micro-runtime/core/shared/platform/common/posix
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_api_posix.cmake Refactor clock functions to use WASI types (#2666) 2023-10-25 18:06:04 +08:00
posix_blocking_op.c Implement async termination of blocking thread (#2516) 2023-09-20 18:11:52 +08:00
posix_clock.c Refactor clock functions to use WASI types (#2666) 2023-10-25 18:06:04 +08:00
posix_file.c Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
posix_malloc.c Add bh_print_proc_mem() to dump memory info of current process (#1734) 2022-11-25 08:33:44 +08:00
posix_memmap.c Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
posix_sleep.c Implement os_usleep for posix (#2517) 2023-09-01 12:10:54 +08:00
posix_socket.c Add Cosmopolitan Libc Platform (#2598) 2023-10-04 21:55:37 +08:00
posix_thread.c Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
posix_time.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00