From 997115c08ecba3b99785e1eb3ca1144af6ee3d34 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Fri, 12 Jul 2024 03:58:34 -0300 Subject: [PATCH] Add docs --- lib/bsd/capsicum/ffi.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/bsd/capsicum/ffi.rb b/lib/bsd/capsicum/ffi.rb index e6e69d9..3d9d16b 100644 --- a/lib/bsd/capsicum/ffi.rb +++ b/lib/bsd/capsicum/ffi.rb @@ -46,7 +46,9 @@ module BSD::Capsicum ## # Provides a Ruby interface for cap_rights_init(2) + # @see BSD::Capsicum::Constants See Constants for a full list of capabilities # @param [Array] rights + # Allowed capabilities # @return [Fiddle::Pointer] # Returns a pointer to the structure `cap_rights_t` def cap_rights_init(*rights)