nc 0.9.7

Access system calls directly
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub unsafe fn __acl_get_link<P: AsRef<Path>>(
    path: P,
    type_: acl_type_t,
    acl: &mut acl_t,
) -> Result<(), Errno> {
    let path = CString::new(path.as_ref());
    let path_ptr = path.as_ptr() as usize;
    let type_ = type_ as usize;
    let acl_ptr = acl as *mut acl_t as usize;
    syscall3(SYS___ACL_GET_LINK, path_ptr, type_, acl_ptr).map(drop)
}