MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / writeAddrinfo

Function writeAddrinfo

test/host/socket/wasi_socket.cpp:110–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void writeAddrinfo(WasmEdge::Runtime::Instance::MemoryInstance &MemInst,
111 __wasi_addrinfo_t *WasiAddrinfo, uint32_t Ptr) {
112 std::memcpy(MemInst.getPointer<__wasi_addrinfo_t *>(Ptr), WasiAddrinfo,
113 sizeof(__wasi_addrinfo_t));
114}
115
116void allocateAddrinfoArray(WasmEdge::Runtime::Instance::MemoryInstance &MemInst,
117 uint32_t Base, uint32_t Length,

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected