Skip to content

Commit

Permalink
expose setgrent/getgrent/endgrent on fuchsia
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed Sep 16, 2022
1 parent 666ad57 commit 5ce402f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/fuchsia/mod.rs
Original file line number Diff line number Diff line change
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 5ce402f

Please sign in to comment.