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

« back to all changes in this revision

Viewing changes to man3/CPU_SET.3

  • Committer: Bazaar Package Importer
  • Author(s): Joey Schulze
  • Date: 2010-03-02 21:49:58 UTC
  • mfrom: (1.1.42 upstream) (2.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100302214958-69yjgb70t7wrjo3m
New upstream version
. Remove crufty statement in setuid(2) that seteuid() is not in POSIX
(closes: Bug#569812)
. Fix description of 'nochdir' argument in daemon(3) (closes: Bug#554819)
. Fix NAME line in path_resolution(7) (closes: Bug#558300)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
.\" Formatted or processed versions of this manual, if unaccompanied by
23
23
.\" the source, must acknowledge the copyright and authors of this work.
24
24
.\"
25
 
.TH CPU_SET 3 2008-11-14 "Linux" "Linux Programmer's Manual"
 
25
.TH CPU_SET 3 2010-02-21 "Linux" "Linux Programmer's Manual"
26
26
.SH NAME
27
27
CPU_SET, CPU_CLR, CPU_ISSET, CPU_ZERO, CPU_COUNT,
28
28
CPU_AND, CPU_OR, CPU_XOR, CPU_EQUAL,
41
41
.BI "void CPU_CLR(int " cpu ", cpu_set_t *" set );
42
42
.BI "int  CPU_ISSET(int " cpu ", cpu_set_t *" set );
43
43
.sp
44
 
.BI "void CPU_COUNT(cpu_set_t *" set );
 
44
.BI "int  CPU_COUNT(cpu_set_t *" set );
45
45
.sp
46
46
.BI "void CPU_AND(cpu_set_t *" destset ,
47
47
.BI "             cpu_set_t *" srcset1 ", cpu_set_t *" srcset2 );
62
62
.BI "void CPU_CLR_S(int " cpu ", size_t " setsize ", cpu_set_t *" set );
63
63
.BI "int  CPU_ISSET_S(int " cpu ", size_t " setsize ", cpu_set_t *" set );
64
64
.sp
65
 
.BI "void CPU_COUNT_S(size_t " setsize ", cpu_set_t *" set );
 
65
.BI "int  CPU_COUNT_S(size_t " setsize ", cpu_set_t *" set );
66
66
.sp
67
67
.BI "void CPU_AND_S(size_t " setsize ", cpu_set_t *" destset ,
68
68
.BI "             cpu_set_t *" srcset1 ", cpu_set_t *" srcset2 );
204
204
.BR CPU_ISSET ()
205
205
and
206
206
.BR CPU_ISSET_S ()
207
 
return non-zero if
 
207
return nonzero if
208
208
.I cpu
209
209
is in
210
210
.IR set ;
219
219
.BR CPU_EQUAL ()
220
220
and
221
221
.BR CPU_EQUAL_S ()
222
 
return non-zero if the two CPU sets are equal; otherwise it returns 0.
 
222
return nonzero if the two CPU sets are equal; otherwise it returns 0.
223
223
 
224
224
.BR CPU_ALLOC ()
225
225
returns a pointer on success, or NULL on failure.
352
352
.BR pthread_setaffinity_np (3),
353
353
.BR cpuset (7)
354
354
.SH COLOPHON
355
 
This page is part of release 3.23 of the Linux
 
355
This page is part of release 3.24 of the Linux
356
356
.I man-pages
357
357
project.
358
358
A description of the project,