Xref ilog2(3) and imax(9).

This commit is contained in:
jruoho 2010-06-08 09:00:22 +00:00
parent 0e7140d8d0
commit b052be6bc7
1 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: roundup.9,v 1.1 2010/03/04 08:09:52 jruoho Exp $
.\" $NetBSD: roundup.9,v 1.2 2010/06/08 09:00:22 jruoho 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 March 4, 2010
.Dd June 8, 2010
.Dt ROUNDUP 9
.Os
.Sh NAME
@ -91,6 +91,9 @@ uint16_t rx;
/* Round up to 32-bit boundary. */
rx = roundup2(rx, sizeof(uint32_t));
.Ed
.Sh SEE ALSO
.Xr ilog2 3 ,
.Xr imax 9
.Sh CAVEATS
All described macros make no assumptions about the type of the parameters.
These are implicitly assumed to be unsigned integers.