/// Make a hard link.
pub unsafe fn fhlinkat<P: AsRef<Path>>(fh: &mut fhandle_t, tofd: i32, to: P) -> Result<(), Errno> {
let fh_ptr = core::ptr::from_mut(fh) as usize;
let tofd = tofd as usize;
let to = CString::new(to.as_ref());
let to_ptr = to.as_ptr() as usize;
unsafe { syscall3(SYS_FHLINKAT, fh_ptr, tofd, to_ptr).map(drop) }
}