pub fn name_to_handle_at(
dirfd: DirFd<'_>,
path: &CStr,
flags: NameToHandleFlags,
) -> Result<FileHandle, Errno>Expand description
Obtient un handle persistant pour un fichier.
Wrappeur de name_to_handle_at(2) (Linux 2.6.39+). Le handle
retourné identifie le fichier même après renommage.
§Errors
EOPNOTSUPP: filesystem ne supporte pas les handles.ENOENT: fichier inexistant.
§Examples
use air_sys_syscall::fs::name_to_handle_at;
use air_sys_types::fs::{DirFd, NameToHandleFlags};
let handle = name_to_handle_at(DirFd::Cwd, c"./data.bin", NameToHandleFlags::empty())
.expect("name_to_handle_at");