diff --git a/distrib/sets/lists/comp/mi b/distrib/sets/lists/comp/mi index 98fd0c72ea80..eb1894cd8d8f 100644 --- a/distrib/sets/lists/comp/mi +++ b/distrib/sets/lists/comp/mi @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.2287 2019/10/01 16:07:14 christos Exp $ +# $NetBSD: mi,v 1.2288 2019/10/02 08:21:08 rin Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. ./etc/mtree/set.comp comp-sys-root @@ -11718,6 +11718,7 @@ ./usr/share/man/cat9/rootconf.0 comp-sys-catman .cat ./usr/share/man/cat9/round_page.0 comp-sys-catman .cat ./usr/share/man/cat9/rounddown.0 comp-sys-catman .cat +./usr/share/man/cat9/rounddown2.0 comp-sys-catman .cat ./usr/share/man/cat9/roundup.0 comp-sys-catman .cat ./usr/share/man/cat9/roundup2.0 comp-sys-catman .cat ./usr/share/man/cat9/rssadapt.0 comp-sys-catman .cat @@ -19623,6 +19624,7 @@ ./usr/share/man/html9/rootconf.html comp-sys-htmlman html ./usr/share/man/html9/round_page.html comp-sys-htmlman html ./usr/share/man/html9/rounddown.html comp-sys-htmlman html +./usr/share/man/html9/rounddown2.html comp-sys-htmlman html ./usr/share/man/html9/roundup.html comp-sys-htmlman html ./usr/share/man/html9/roundup2.html comp-sys-htmlman html ./usr/share/man/html9/rssadapt.html comp-sys-htmlman html @@ -27709,6 +27711,7 @@ ./usr/share/man/man9/rootconf.9 comp-sys-man .man ./usr/share/man/man9/round_page.9 comp-sys-man .man ./usr/share/man/man9/rounddown.9 comp-sys-man .man +./usr/share/man/man9/rounddown2.9 comp-sys-man .man ./usr/share/man/man9/roundup.9 comp-sys-man .man ./usr/share/man/man9/roundup2.9 comp-sys-man .man ./usr/share/man/man9/rssadapt.9 comp-sys-man .man diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index efe6900d6ade..551dade668ce 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.440 2019/08/28 21:48:14 rmind Exp $ +# $NetBSD: Makefile,v 1.441 2019/10/02 08:21:08 rin Exp $ # Makefile for section 9 (kernel function and variable) manual pages. @@ -787,6 +787,7 @@ MLINKS+=rnd.9 rnd_attach_source.9 rnd.9 rnd_detach_source.9 \ rnd.9 rnd_add_data.9 rnd.9 rnd_add_uint32.9 MLINKS+=roundup.9 howmany.9 \ roundup.9 rounddown.9 \ + roundup.9 rounddown2.9 \ roundup.9 roundup2.9 \ roundup.9 powerof2.9 MLINKS+=rssadapt.9 ieee80211_rssadapt_choose.9 \ diff --git a/share/man/man9/roundup.9 b/share/man/man9/roundup.9 index 02bc3d88a33e..af1cf4d22a78 100644 --- a/share/man/man9/roundup.9 +++ b/share/man/man9/roundup.9 @@ -1,4 +1,4 @@ -.\" $NetBSD: roundup.9,v 1.8 2011/06/01 11:19:19 jruoho Exp $ +.\" $NetBSD: roundup.9,v 1.9 2019/10/02 08:21:08 rin Exp $ .\" .\" Copyright (c) 2010 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd June 1, 2011 +.Dd October 2, 2019 .Dt ROUNDUP 9 .Os .Sh NAME @@ -43,6 +43,8 @@ .Fn rounddown "x" "size" .Ft size .Fn roundup2 "x" "size" +.Ft size +.Fn rounddown2 "x" "size" .Ft int .Fn powerof2 "x" .Sh DESCRIPTION @@ -64,7 +66,9 @@ rounding the residual up. .Pp The .Fn roundup2 -macro also rounds up, but with the assumption that +and +.Fn rounddown2 +macros also round up and down, respectively, but with the assumption that .Fa size is a power of two. If