grp.h skeleton
This commit is contained in:
+44
@@ -0,0 +1,44 @@
|
||||
/* automatically generated by rust-bindgen */
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct group {
|
||||
pub gr_name: *mut libc::c_char,
|
||||
pub gr_passwd: *mut libc::c_char,
|
||||
pub gr_gid: gid_t,
|
||||
pub gr_mem: *mut *mut libc::c_char,
|
||||
}
|
||||
impl Clone for group {
|
||||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
pub extern "C" fn getgrgid(arg1: gid_t) -> *mut group {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn getgrnam(arg1: *const libc::c_char) -> *mut group {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn getgrgid_r(arg1: gid_t, arg2: *mut group,
|
||||
arg3: *mut libc::c_char, arg4: usize,
|
||||
arg5: *mut *mut group) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn getgrnam_r(arg1: *const libc::c_char, arg2: *mut group,
|
||||
arg3: *mut libc::c_char, arg4: usize,
|
||||
arg5: *mut *mut group) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn getgrent() -> *mut group {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn endgrent() {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn setgrent() {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user