Skip to main content

cap

Function cap 

Source
pub fn cap() -> Cap
Expand description

The reading, taken once and kept.

None of it changes while the process runs, and the files behind it are on a virtual filesystem that is cheap to read but not free, so everything that wants the numbers asks here rather than going back to /sys for each one.