Crate passwd [] [src]

This modules provides a wrapper around the libc functions in pwd.h for handling the /etc/passwd file, which stores information about users.

Examples

println!("{:?}", Passwd::from_name("root"));
println!("{:?}", Passwd::from_uid(0));

Structs

Passwd

Represents an entry in /etc/passwd