File wamr/process.cpp
-
namespace wasm
SYSCALL NUMBERING
Have a look in the sysroot at include/bits/syscall.h to determine the system call numbering.
Functions
-
uint32_t getFaasmProcessApi(NativeSymbol **nativeSymbols)
-
static uint32_t getpid_wrapper(wasm_exec_env_t exec_env, uint32_t a)
-
static uint32_t pclose_wrapper(wasm_exec_env_t exec_env, uint32_t a)
-
static uint32_t popen_wrapper(wasm_exec_env_t exec_env, uint32_t a, uint32_t b)
-
static uint32_t raise_wrapper(wasm_exec_env_t exec_env, uint32_t a)
-
static uint32_t system_wrapper(wasm_exec_env_t exec_env, uint32_t a)
Variables
-
static NativeSymbol ns[] = {REG_NATIVE_FUNC(getpid, "()i"), REG_NATIVE_FUNC(pclose, "(i)i"), REG_NATIVE_FUNC(popen, "(ii)i"), REG_NATIVE_FUNC(raise, "(i)i"), REG_NATIVE_FUNC(system, "(i)i"),}
-
uint32_t getFaasmProcessApi(NativeSymbol **nativeSymbols)