Describe roundup2(9) in roundup(9).
Bump date. Install it also as roundup2(9).
This commit is contained in:
parent
41cead3c75
commit
d66ba54477
|
@ -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.
|
# Note: don't delete entries from here - mark them as "obsolete" instead.
|
||||||
./etc/mtree/set.comp comp-sys-root
|
./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/rootconf.0 comp-sys-catman .cat
|
||||||
./usr/share/man/cat9/round_page.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/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/roundup.0 comp-sys-catman .cat
|
||||||
./usr/share/man/cat9/roundup2.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
|
./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/rootconf.html comp-sys-htmlman html
|
||||||
./usr/share/man/html9/round_page.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/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/roundup.html comp-sys-htmlman html
|
||||||
./usr/share/man/html9/roundup2.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
|
./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/rootconf.9 comp-sys-man .man
|
||||||
./usr/share/man/man9/round_page.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/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/roundup.9 comp-sys-man .man
|
||||||
./usr/share/man/man9/roundup2.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
|
./usr/share/man/man9/rssadapt.9 comp-sys-man .man
|
||||||
|
|
|
@ -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.
|
# 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
|
rnd.9 rnd_add_data.9 rnd.9 rnd_add_uint32.9
|
||||||
MLINKS+=roundup.9 howmany.9 \
|
MLINKS+=roundup.9 howmany.9 \
|
||||||
roundup.9 rounddown.9 \
|
roundup.9 rounddown.9 \
|
||||||
|
roundup.9 rounddown2.9 \
|
||||||
roundup.9 roundup2.9 \
|
roundup.9 roundup2.9 \
|
||||||
roundup.9 powerof2.9
|
roundup.9 powerof2.9
|
||||||
MLINKS+=rssadapt.9 ieee80211_rssadapt_choose.9 \
|
MLINKS+=rssadapt.9 ieee80211_rssadapt_choose.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.
|
.\" Copyright (c) 2010 The NetBSD Foundation, Inc.
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.Dd June 1, 2011
|
.Dd October 2, 2019
|
||||||
.Dt ROUNDUP 9
|
.Dt ROUNDUP 9
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -43,6 +43,8 @@
|
||||||
.Fn rounddown "x" "size"
|
.Fn rounddown "x" "size"
|
||||||
.Ft size
|
.Ft size
|
||||||
.Fn roundup2 "x" "size"
|
.Fn roundup2 "x" "size"
|
||||||
|
.Ft size
|
||||||
|
.Fn rounddown2 "x" "size"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn powerof2 "x"
|
.Fn powerof2 "x"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
@ -64,7 +66,9 @@ rounding the residual up.
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Fn roundup2
|
.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
|
.Fa size
|
||||||
is a power of two.
|
is a power of two.
|
||||||
If
|
If
|
||||||
|
|
Loading…
Reference in New Issue