sys_sched_getaffinity(9)
NAME
sys_sched_getaffinity - get the cpu affinity of a process
SYNOPSIS
asmlinkage int sys_sched_getaffinity (pid_t pid, unsigned int len, unsigned long *user_mask_ptr);
ARGUMENTS
pid pid of the process
- len length in bytes of the bitmask pointed to by
- user_mask_ptr
- user_mask_ptr
- user-space pointer to hold the current cpu
- mask