We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09d9209 commit 2d22c18Copy full SHA for 2d22c18
src/unix/bsd/freebsdlike/mod.rs
@@ -964,6 +964,7 @@ extern {
964
pub fn setutxent();
965
pub fn setresgid(rgid: ::gid_t, egid: ::gid_t, sgid: ::gid_t) -> ::c_int;
966
pub fn setresuid(ruid: ::uid_t, euid: ::uid_t, suid: ::uid_t) -> ::c_int;
967
+ pub fn initgroups(name: *const ::c_char, basegid: ::gid_t) -> ::c_int;
968
}
969
970
#[link(name = "util")]
src/unix/bsd/netbsdlike/mod.rs
@@ -616,6 +616,8 @@ extern {
616
pub fn pthread_mutex_timedlock(lock: *mut pthread_mutex_t,
617
abstime: *const ::timespec) -> ::c_int;
618
pub fn pipe2(fds: *mut ::c_int, flags: ::c_int) -> ::c_int;
619
+
620
621
622
623
cfg_if! {
0 commit comments