ref: 690ab7aa8e6c56a4ae8a2bd5bce58d1df681234e
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 ;; }