Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Describe roundup2(9) in roundup(9).



details:   https://anonhg.NetBSD.org/src/rev/5bef021da285
branches:  trunk
changeset: 454925:5bef021da285
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Oct 02 08:21:08 2019 +0000

description:
Describe roundup2(9) in roundup(9).
Bump date.

Install it also as roundup2(9).

diffstat:

 distrib/sets/lists/comp/mi |   5 ++++-
 share/man/man9/Makefile    |   3 ++-
 share/man/man9/roundup.9   |  10 +++++++---
 3 files changed, 13 insertions(+), 5 deletions(-)

diffs (88 lines):

diff -r bd396a772185 -r 5bef021da285 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Wed Oct 02 07:14:31 2019 +0000
+++ b/distrib/sets/lists/comp/mi        Wed Oct 02 08:21:08 2019 +0000
@@ -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 -r bd396a772185 -r 5bef021da285 share/man/man9/Makefile
--- a/share/man/man9/Makefile   Wed Oct 02 07:14:31 2019 +0000
+++ b/share/man/man9/Makefile   Wed Oct 02 08:21:08 2019 +0000
@@ -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 @@
        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 -r bd396a772185 -r 5bef021da285 share/man/man9/roundup.9
--- a/share/man/man9/roundup.9  Wed Oct 02 07:14:31 2019 +0000
+++ b/share/man/man9/roundup.9  Wed Oct 02 08:21:08 2019 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index