Wiki
Download
Manual
Eggs
API
Tests
Bugs
show
edit
history
You can edit this page using
wiki syntax
for markup.
Article contents:
[[tags: egg]] == pledge [[toc:]] == Description This extension provides bindings to OpenBSD's [[https://man.openbsd.org/pledge|{{pledge(2)}}]] system call. The source for this egg is available [[https://git.foldling.org/chicken-pledge.git|here]]. == Usage A single procedure is provided, which has the same interface as the system call. <enscript highlight="scheme"> (import (pledge)) (pledge "rpath") </enscript> === API <procedure>(pledge promises #!optional execpromises) => fixnum</procedure> Restricts the current process to the capabilities specified by {{promises}}, which should be a string. On success, {{0}} is returned. On error, {{-1}} is returned and {{errno}} should be consulted. Refer to {{pledge(2)}} for more information. == Author [[/users/evan-hanson|Evan Hanson]] == Repository [[https://git.foldling.org/chicken-pledge/|https://git.foldling.org/chicken-pledge/]] == License 3-Clause BSD
Description of your changes:
I would like to authenticate
Authentication
Username:
Password:
Spam control
What do you get when you multiply 1 by 0?