devela::_dep::rustix::procfsFunction proc_self_status
pub fn proc_self_status() -> Result<OwnedFd, Errno> ⓘ
Available on crate feature dep_rustix
only.
Expand description
Returns a handle to a Linux /proc/self/status
file.
This ensures that /proc/self/status
is procfs
, that nothing is
mounted on top of it, and that it looks normal.
§References