[−][src]Function acpi_client::utils::parse_file_to_i32
pub fn parse_file_to_i32(
path: &Path,
scalar: i32
) -> Result<i32, AcpiClientError>
Parses a file and converts the resulting contents to an integer.
Arguments
path
- A path to the file to parsescalar
- A number to divide the output by before returning it