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>
This commit is contained in:
Vlastimil Babka 2010-02-21 14:54:59 +01:00 committed by Michael Kerrisk
parent 821c035685
commit 1b6ece463f
1 changed files with 3 additions and 3 deletions

View File

@ -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 );