Crate servicefile

Source

Structs§

ServiceEntry
A struct representing a line from /etc/services that has a service on it

Functions§

parse_file
Parse a file using the format described in man services(5) if ignore_errs is true, then all parsing errors will be ignored. This is needed on some systems which don’t entirely respect the format in services(5) and omit a service name
parse_servicefile
Parse /etc/services