summaryrefslogtreecommitdiff
path: root/src/js/lib/myutils.js
blob: 80d4d9be517cac2b96009bb744f0ae4df3b74ba4 (plain)
1
2
3
4
5
6
7
8
9
function puts(s) {
	return calls4arg("puts\0", sptr(s + "\0"), 0, 0, 0);
}

function printf() {
	for (var i = 0; i < arguments.length; i++) {
		puts(arguments[i]);
	}
}