(index ("pledge" 0))
(def (sig (procedure "(pledge promises) => fixnum" (id pledge))) (p "Restricts the current process to the capabilities specified by " (tt "promises") ", which should be a string.") (p "On success, " (tt "0") " is returned. On error, " (tt "-1") " is returned and " (tt "errno") " should be consulted.") (p "Refer to " (tt "pledge(2)") " for more information."))
