svn commit: r303620 - stable/11/share/man/man9

Eric van Gyzen vangyzen at FreeBSD.org
Mon Aug 1 16:24:48 UTC 2016


Author: vangyzen
Date: Mon Aug  1 16:24:46 2016
New Revision: 303620
URL: https://svnweb.freebsd.org/changeset/base/303620

Log:
  MFC r303519
  
  Fix two return types in the cpuset(9) and bitset(9) man pages
  
  The *_FFS() and *_COUNT() functions return int, not size_t.
  
  Approved by:	re (gjb)
  Sponsored by:	Dell Inc.

Modified:
  stable/11/share/man/man9/bitset.9
  stable/11/share/man/man9/cpuset.9
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/share/man/man9/bitset.9
==============================================================================
--- stable/11/share/man/man9/bitset.9	Mon Aug  1 16:18:01 2016	(r303619)
+++ stable/11/share/man/man9/bitset.9	Mon Aug  1 16:24:46 2016	(r303620)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd October 20, 2015
+.Dd August 1, 2016
 .Dt BITSET 9
 .Os
 .Sh NAME
@@ -77,9 +77,9 @@
 .Fn BIT_EMPTY "const SETSIZE" "struct STRUCTNAME *bitset"
 .Ft bool
 .Fn BIT_ISFULLSET "const SETSIZE" "struct STRUCTNAME *bitset"
-.Ft size_t
+.Ft int
 .Fn BIT_FFS "const SETSIZE" "struct STRUCTNAME *bitset"
-.Ft size_t
+.Ft int
 .Fn BIT_COUNT "const SETSIZE" "struct STRUCTNAME *bitset"
 .\"
 .Ft bool

Modified: stable/11/share/man/man9/cpuset.9
==============================================================================
--- stable/11/share/man/man9/cpuset.9	Mon Aug  1 16:18:01 2016	(r303619)
+++ stable/11/share/man/man9/cpuset.9	Mon Aug  1 16:24:46 2016	(r303620)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd October 20, 2015
+.Dd August 1, 2016
 .Dt CPUSET 9
 .Os
 .Sh NAME
@@ -75,9 +75,9 @@
 .Fn CPU_EMPTY "cpuset_t *cpuset"
 .Ft bool
 .Fn CPU_ISFULLSET "cpuset_t *cpuset"
-.Ft size_t
+.Ft int
 .Fn CPU_FFS "cpuset_t *cpuset"
-.Ft size_t
+.Ft int
 .Fn CPU_COUNT "cpuset_t *cpuset"
 .\"
 .Ft bool


More information about the svn-src-all mailing list