.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SYS_SCHED_SETAFFINITY" "" "06 October 2005" "" "" .SH NAME sys_sched_setaffinity \- set the cpu affinity of a process .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp asmlinkage long sys_sched_setaffinity (pid_t \fIpid\fB, unsigned int \fIlen\fB, unsigned long __user * \fIuser_mask_ptr\fB); \fR .SH "ARGUMENTS" .TP \fB\fIpid\fB\fR pid of the process .TP \fB\fIlen\fB\fR length in bytes of the bitmask pointed to by user_mask_ptr .TP \fB\fIuser_mask_ptr\fB\fR user-space pointer to the new cpu mask