pub fn shm_truncate(name: &str, size: usize) -> KernelResult<()>Expand description
Set the size of a shared memory object (analogous to ftruncate).
Allocates (or reallocates) the physical backing memory. Existing mappings are NOT updated; callers must re-map after truncating.