nc 0.8.13

Access system calls directly
Documentation
1
2
3
4
5
6
7
/// Attempts to set the `id` of the object specified by the `which` argument.
pub unsafe fn cpuset_setid(which: cpuwhich_t, id: id_t, setid: cpuset_t) -> Result<(), Errno> {
    let which = which as usize;
    let id = id as usize;
    let setid = setid as usize;
    syscall3(SYS_CPUSET_SETID, which, id, setid).map(drop)
}