std1.0.0-beta-7 SafeC docs

std :: wasm::dom

Function std::dom_get_prop_buf

#include <std/wasm/dom.h> source ยท definition

int dom_get_prop_buf(int handle, const &char name, []char buf)

The same into a caller buffer: copies up to buf.len - 1 bytes, NUL- terminates, returns the full length (-1 if undefined/null).