diff options
author | Vlastimil Babka <caster@gentoo.org> | 2010-02-21 14:54:59 +0100 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2010-02-21 15:14:09 +0100 |
commit | 1b6ece463f6cdea961d4c3f62fce4cce19bd9328 (patch) | |
tree | bb4e8237ce3d544635da5ea5ff4dd6f887fa82f8 /man3 | |
parent | 821c035685dde7824802b5ed63627abd00a5c203 (diff) |
CPU_SET.3: SYNOPSIS: Fix return types for CPU_COUNT_*()
These functions return 'int' not void'.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r-- | man3/CPU_SET.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/CPU_SET.3 b/man3/CPU_SET.3 index cf186c87..46ef2756 100644 --- a/man3/CPU_SET.3 +++ b/man3/CPU_SET.3 @@ -22,7 +22,7 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH CPU_SET 3 2008-11-14 "Linux" "Linux Programmer's Manual" +.TH CPU_SET 3 2010-02-21 "Linux" "Linux Programmer's Manual" .SH NAME CPU_SET, CPU_CLR, CPU_ISSET, CPU_ZERO, CPU_COUNT, CPU_AND, CPU_OR, CPU_XOR, CPU_EQUAL, @@ -41,7 +41,7 @@ macros for manipulating CPU sets .BI "void CPU_CLR(int " cpu ", cpu_set_t *" set ); .BI "int CPU_ISSET(int " cpu ", cpu_set_t *" set ); .sp -.BI "void CPU_COUNT(cpu_set_t *" set ); +.BI "int CPU_COUNT(cpu_set_t *" set ); .sp .BI "void CPU_AND(cpu_set_t *" destset , .BI " cpu_set_t *" srcset1 ", cpu_set_t *" srcset2 ); @@ -62,7 +62,7 @@ macros for manipulating CPU sets .BI "void CPU_CLR_S(int " cpu ", size_t " setsize ", cpu_set_t *" set ); .BI "int CPU_ISSET_S(int " cpu ", size_t " setsize ", cpu_set_t *" set ); .sp -.BI "void CPU_COUNT_S(size_t " setsize ", cpu_set_t *" set ); +.BI "int CPU_COUNT_S(size_t " setsize ", cpu_set_t *" set ); .sp .BI "void CPU_AND_S(size_t " setsize ", cpu_set_t *" destset , .BI " cpu_set_t *" srcset1 ", cpu_set_t *" srcset2 ); |