mirror of https://github.com/mkerrisk/man-pages
CPU_SET.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
03323a99a4
commit
77227d3697
|
@ -86,7 +86,7 @@ and similar interfaces.
|
||||||
|
|
||||||
The
|
The
|
||||||
.I cpu_set_t
|
.I cpu_set_t
|
||||||
data type is implemented as a bit set.
|
data type is implemented as a bit mask.
|
||||||
However, the data structure treated as considered opaque:
|
However, the data structure treated as considered opaque:
|
||||||
all manipulation of CPU sets should be done via the macros
|
all manipulation of CPU sets should be done via the macros
|
||||||
described in this page.
|
described in this page.
|
||||||
|
@ -276,7 +276,7 @@ These interfaces are Linux-specific.
|
||||||
To duplicate a CPU set, use
|
To duplicate a CPU set, use
|
||||||
.BR memcpy (3).
|
.BR memcpy (3).
|
||||||
|
|
||||||
Since CPU sets are bit sets allocated in units of long words,
|
Since CPU sets are bit masks allocated in units of long words,
|
||||||
the actual number of CPUs in a dynamically
|
the actual number of CPUs in a dynamically
|
||||||
allocated CPU set will be rounded up to the next multiple of
|
allocated CPU set will be rounded up to the next multiple of
|
||||||
.IR "sizeof(unsigned long)" .
|
.IR "sizeof(unsigned long)" .
|
||||||
|
@ -288,7 +288,7 @@ note that the constant
|
||||||
.B CPU_SETSIZE
|
.B CPU_SETSIZE
|
||||||
indicates the number of CPUs in the
|
indicates the number of CPUs in the
|
||||||
.I cpu_set_t
|
.I cpu_set_t
|
||||||
data type (thus, it is effectively a count of bits in the bit set),
|
data type (thus, it is effectively a count of the bits in the bit mask),
|
||||||
while the
|
while the
|
||||||
.I setsize
|
.I setsize
|
||||||
argument of the
|
argument of the
|
||||||
|
|
Loading…
Reference in New Issue