Files
RedBear-OS/grp/lib.rs
T
2018-03-02 21:27:35 -08:00

61 lines
1.1 KiB
Rust

/* 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
}
}
#[no_mangle]
pub extern "C" fn getgrgid(arg1: gid_t) -> *mut group {
unimplemented!();
}
#[no_mangle]
pub extern "C" fn getgrnam(arg1: *const libc::c_char) -> *mut group {
unimplemented!();
}
#[no_mangle]
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!();
}
#[no_mangle]
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!();
}
#[no_mangle]
pub extern "C" fn getgrent() -> *mut group {
unimplemented!();
}
#[no_mangle]
pub extern "C" fn endgrent() {
unimplemented!();
}
#[no_mangle]
pub extern "C" fn setgrent() {
unimplemented!();
}