shithub: mc

ref: 84393ead97a2e189b6057420ad7d94170b9aa00f
dir: /lib/std/pledge+openbsd.myr/

View raw version
use sys

pkg std =
	const pledge	: (promise : byte[:], epromise : byte[:] -> void)
;;

const pledge = {promise, epromise
	sys.pledge(sys.cstring(promise), sys.cstring(epromise))
}