Sha256: 936fc7508753f63e9ea4ec914b3b1b097a58f633c1be58ccae6983899b49c4a3
Contents?: true
Size: 507 Bytes
Versions: 72
Compression:
Stored size: 507 Bytes
Contents
require '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
72 entries across 72 versions & 1 rubygems