Function procfs::iomem

source ·
pub fn iomem() -> ProcResult<Vec<(usize, PhysicalMemoryMap)>>
Expand description

Reads and parses the /proc/iomem, returning an error if there are problems.

Requires root, otherwise every memory address will be zero