ref: f762f96f07cf2dfc7b3bb745d6a767dccda0a01a
dir: /lib/std/pledge+openbsd.myr/
use sys use "errno" use "result" pkg std = const pledge : (promise : byte[:], epromise : byte[:] -> result(void, errno)) ;; const pledge = {promise, epromise var r r = sys.pledge(sys.cstring(promise), sys.cstring(epromise)) if r < 0 -> `std.Err (r : errno) else -> `std.Ok void ;; }