Skip to content

Commit

Permalink
Auto merge of #2325 - devnexen:solaris_getgroup, r=Amanieu
Browse files Browse the repository at this point in the history
solarish add getgrouplist
  • Loading branch information
bors committed Aug 9, 2021
2 parents 153abf1 + f1d7533 commit 49c8a5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/unix/solarish/mod.rs
Expand Up @@ -2250,6 +2250,12 @@ extern "C" {
pub fn freeifaddrs(ifa: *mut ::ifaddrs);

pub fn stack_getbounds(sp: *mut ::stack_t) -> ::c_int;
pub fn getgrouplist(
name: *const ::c_char,
basegid: ::gid_t,
groups: *mut ::gid_t,
ngroups: *mut ::c_int,
) -> ::c_int;
pub fn initgroups(name: *const ::c_char, basegid: ::gid_t) -> ::c_int;
pub fn setgroups(ngroups: ::c_int, ptr: *const ::gid_t) -> ::c_int;
pub fn ioctl(fildes: ::c_int, request: ::c_int, ...) -> ::c_int;
Expand Down

0 comments on commit 49c8a5e

Please sign in to comment.