Skip to content

Commit 49c8a5e

Browse files
committed
Auto merge of #2325 - devnexen:solaris_getgroup, r=Amanieu
solarish add getgrouplist
2 parents 153abf1 + f1d7533 commit 49c8a5e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/unix/solarish/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2250,6 +2250,12 @@ extern "C" {
22502250
pub fn freeifaddrs(ifa: *mut ::ifaddrs);
22512251

22522252
pub fn stack_getbounds(sp: *mut ::stack_t) -> ::c_int;
2253+
pub fn getgrouplist(
2254+
name: *const ::c_char,
2255+
basegid: ::gid_t,
2256+
groups: *mut ::gid_t,
2257+
ngroups: *mut ::c_int,
2258+
) -> ::c_int;
22532259
pub fn initgroups(name: *const ::c_char, basegid: ::gid_t) -> ::c_int;
22542260
pub fn setgroups(ngroups: ::c_int, ptr: *const ::gid_t) -> ::c_int;
22552261
pub fn ioctl(fildes: ::c_int, request: ::c_int, ...) -> ::c_int;

0 commit comments

Comments
 (0)