.\" 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_GETAFFINITY" "9" "09 October 2005" "" "" .SH NAME sys_sched_getaffinity \- get the cpu affinity of a process .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp long sys_sched_getaffinity (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 hold the current cpu mask