Skip to main content

getgrouplist

Function getgrouplist 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn getgrouplist( user: *const c_char, group: gid_t, groups: *mut gid_t, ngroups: *mut c_int, ) -> c_int
Expand description

MT-Safe locale Non-POSIX, see https://www.man7.org/linux/man-pages/man3/getgrouplist.3.html.

Get a list of groups to which a user belongs.