File tree 3 files changed +2
-1
lines changed
3 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1065,6 +1065,7 @@ extern {
1065
1065
group : :: gid_t ,
1066
1066
groups : * mut :: gid_t ,
1067
1067
ngroups : * mut :: c_int ) -> :: c_int ;
1068
+ pub fn initgroups ( user : * const :: c_char , group : :: gid_t ) -> :: c_int ;
1068
1069
pub fn pthread_mutexattr_getpshared ( attr : * const pthread_mutexattr_t ,
1069
1070
pshared : * mut :: c_int ) -> :: c_int ;
1070
1071
#[ cfg_attr( all( target_os = "macos" , target_arch = "x86" ) ,
Original file line number Diff line number Diff line change @@ -1322,6 +1322,7 @@ extern {
1322
1322
buf : * mut :: c_char ,
1323
1323
buflen : :: size_t ,
1324
1324
result : * mut * mut :: group ) -> :: c_int ;
1325
+ pub fn initgroups ( user : * const :: c_char , group : :: gid_t ) -> :: c_int ;
1325
1326
#[ cfg_attr( all( target_os = "macos" , target_arch = "x86" ) ,
1326
1327
link_name = "pthread_sigmask$UNIX2003" ) ]
1327
1328
pub fn pthread_sigmask ( how : :: c_int , set : * const sigset_t ,
Original file line number Diff line number Diff line change @@ -997,4 +997,3 @@ cfg_if! {
997
997
// name: *mut ::c_char,
998
998
// termp: *const termios,
999
999
// winp: *const ::winsize) -> ::pid_t;
1000
- // pub fn initgroups(user: *const ::c_char, group: ::gid_t) -> ::c_int;
You can’t perform that action at this time.
0 commit comments