Sha256: 3c639e3b8180f0fbff6d4e3686abb163521001651f90989bf0e29ab3842f6e86
Contents?: true
Size: 525 Bytes
Versions: 120
Compression:
Stored size: 525 Bytes
Contents
require_relative '../../../puppet/ffi/posix' module Puppet::FFI::POSIX module Functions extend FFI::Library ffi_convention :stdcall # https://man7.org/linux/man-pages/man3/getgrouplist.3.html # int getgrouplist ( # const char *user, # gid_t group, # gid_t *groups, # int *ngroups # ); begin ffi_lib FFI::Library::LIBC attach_function :getgrouplist, [:string, :uint, :pointer, :pointer], :int rescue FFI::NotFoundError # Do nothing end end end
Version data entries
120 entries across 120 versions & 1 rubygems