ref: 527b74f79517336b3ef11c963e86658527aa96cd
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 ;; }