~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man2/sched_setaffinity.2

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2010-11-17 16:35:58 UTC
  • mfrom: (1.1.45 upstream) (2.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101117163558-9h3ho5jumqm3rdmd
Tags: 3.27-1ubuntu1
* Merge from Debian unstable; remaining changes:
  - ptrace.2, prctl.2: document Ubuntu-specific PTRACE_ATTACH,
    PR_SET_PTRACER behavior.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
.\" 2008-11-12, mtk, removed CPU_*() macro descriptions to a
33
33
.\" separate CPU_SET(3) page.
34
34
.\"
35
 
.TH SCHED_SETAFFINITY 2 2008-11-14 "Linux" "Linux Programmer's Manual"
 
35
.TH SCHED_SETAFFINITY 2 2010-09-10 "Linux" "Linux Programmer's Manual"
36
36
.SH NAME
37
37
sched_setaffinity, sched_getaffinity \- \
38
38
set and get a process's CPU affinity mask
39
39
.SH SYNOPSIS
40
40
.nf
41
 
.B #define _GNU_SOURCE
 
41
.BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
42
42
.B #include <sched.h>
43
43
.sp
44
44
.BI "int sched_setaffinity(pid_t " pid ", size_t " cpusetsize ,
229
229
.BR pthread_setaffinity_np (3),
230
230
.BR cpuset (7)
231
231
.SH COLOPHON
232
 
This page is part of release 3.26 of the Linux
 
232
This page is part of release 3.27 of the Linux
233
233
.I man-pages
234
234
project.
235
235
A description of the project,