mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-24 09:51:17 +00:00
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> |
||
|---|---|---|
| .. | ||
| platform_api_posix.cmake | ||
| posix_blocking_op.c | ||
| posix_clock.c | ||
| posix_file.c | ||
| posix_malloc.c | ||
| posix_memmap.c | ||
| posix_sleep.c | ||
| posix_socket.c | ||
| posix_thread.c | ||
| posix_time.c | ||