diff options
Diffstat (limited to 'src/bindings/pledge.nim')
-rw-r--r-- | src/bindings/pledge.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bindings/pledge.nim b/src/bindings/pledge.nim new file mode 100644 index 00000000..8d265fe6 --- /dev/null +++ b/src/bindings/pledge.nim @@ -0,0 +1,6 @@ +{.push header: "<unistd.h>", importc.} + +proc pledge*(promises, execpromises: cstring): cint +proc unveil*(path, permissions: cstring): cint + +{.pop.} |