nc 0.9.8

Access system calls directly
Documentation
1
2
3
4
5
6
7
/// Manipulate disk quotes.
pub unsafe fn __quotactl<P: AsRef<Path>>(path: P, args: &mut quotactl_args_t) -> Result<(), Errno> {
    let path = CString::new(path.as_ref());
    let path_ptr = path.as_ptr() as usize;
    let args_ptr = core::ptr::from_mut(args) as usize;
    unsafe { syscall2(SYS___QUOTACTL, path_ptr, args_ptr).map(drop) }
}