Skip to content

Commit 1afccf7

Browse files
committed
Auto merge of #2910 - SteveLauC:expose-setgrent-getgrent-endgrent-on-fuchsia, r=JohnTitor
expose setgrent/getgrent/endgrent on fuchsia
2 parents e58fb5d + 5ce402f commit 1afccf7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/fuchsia/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4212,6 +4212,11 @@ extern "C" {
42124212
child: ::Option<unsafe extern "C" fn()>,
42134213
) -> ::c_int;
42144214
pub fn getgrgid(gid: ::gid_t) -> *mut ::group;
4215+
4216+
pub fn setgrent();
4217+
pub fn endgrent();
4218+
pub fn getgrent() -> *mut ::group;
4219+
42154220
pub fn getgrouplist(
42164221
user: *const ::c_char,
42174222
group: ::gid_t,

0 commit comments

Comments
 (0)