std1.0.0-beta-7 SafeC docs

std :: wasm::dom

Function std::wasm_itoa

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

void wasm_itoa(long long v, []char buf)

Minimal signed-decimal integer formatter — no snprintf on wasm32. 'buf' should hold 24 bytes (any 64-bit value's sign + digits + NUL); a shorter buf gets a truncated number. Always NUL-terminates.