[][src]Function hostfile::parse_file

pub fn parse_file(path: &Path) -> Result<Vec<HostEntry>, &'static str>

Parse a file using the format described in man hosts(7)