pub fn code() -> Result<usize>Expand description
Returns the process’s resident code size in bytes, or zero outside Linux.
The value is the fourth field of Linux /proc/self/statm, scaled by the
system page size. It represents the resident text segment.
§Panics
On Linux, panics if statm is malformed, exceeds parser capacity, or lacks
the requested field. Panics if converting that page count overflows usize
bytes.