Skip to content

Commit

Permalink
Auto merge of #2910 - SteveLauC:expose-setgrent-getgrent-endgrent-on-…
Browse files Browse the repository at this point in the history
…fuchsia, r=JohnTitor

expose setgrent/getgrent/endgrent on fuchsia
  • Loading branch information
bors committed Sep 17, 2022
2 parents e58fb5d + 5ce402f commit 1afccf7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/fuchsia/mod.rs
Expand Up @@ -4212,6 +4212,11 @@ extern "C" {
child: ::Option<unsafe extern "C" fn()>,
) -> ::c_int;
pub fn getgrgid(gid: ::gid_t) -> *mut ::group;

pub fn setgrent();
pub fn endgrent();
pub fn getgrent() -> *mut ::group;

pub fn getgrouplist(
user: *const ::c_char,
group: ::gid_t,
Expand Down

0 comments on commit 1afccf7

Please sign in to comment.