pub fn index_to_name<Fd: AsFd>(fd: Fd, index: u32) -> Result<String>Expand description
ioctl(fd, SIOCGIFNAME, ifreq)—Returns the interface name for a given
index.
See the module-level documentation for information about fd usage.
See also index_to_name_inlined which does not require alloc feature.