#[repr(C)]pub struct passwd {
pub pw_name: *mut c_char,
pub pw_passwd: *mut c_char,
pub pw_uid: uid_t,
pub pw_gid: gid_t,
pub pw_gecos: *mut c_char,
pub pw_dir: *mut c_char,
pub pw_shell: *mut c_char,
}
Fields
pw_name: *mut c_char
pw_passwd: *mut c_char
pw_uid: uid_t
pw_gid: gid_t
pw_gecos: *mut c_char
pw_dir: *mut c_char
pw_shell: *mut c_char