wasm-micro-runtime/core/shared/platform/common/posix
zoraaver fa5e9d72b0
Abstract POSIX filesystem functions (#2585)
To allow non-POSIX platforms such as Windows to support WASI libc
filesystem functionality, create a set of wrapper functions which provide a
platform-agnostic interface to interact with the host filesystem. For now,
the Windows implementation is stubbed but this will be implemented
properly in a future PR. There are no functional changes in this change,
just a reorganization of code to move any direct POSIX references out of
posix.c in the libc implementation into posix_file.c under the shared
POSIX sources.

See https://github.com/bytecodealliance/wasm-micro-runtime/issues/2495 for a
more detailed overview of the plan to port the WASI libc filesystem to Windows.
2023-10-19 19:19:39 +08:00
..
platform_api_posix.cmake Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00
posix_blocking_op.c Implement async termination of blocking thread (#2516) 2023-09-20 18:11:52 +08:00
posix_file.c Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +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 Enable AOT usage on M1 mac (#2618) 2023-10-07 16:05:10 +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 Merge branch main into dev/wasi-libc-windows 2023-10-09 09:24:00 +08:00
posix_time.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00