1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
9<title>OSRoundUp32B</title>
10</head>
11
12<body>
13
14<h1>OSRoundUp32B</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20<dd><pre><CODE>#include &lt;revolution/os.h&gt;</CODE></pre></dd>
21<dd><pre>#define OSRoundUp32B(x)       \
22(((u32)(x) + 32 - 1) &amp; ~(32 - 1))</pre></dd>
23</dl><h2>Arguments</h2>
24<TABLE border="1" cellpadding="3" cellspacing="0.1">
25  <tr>
26<TD width="120" bgcolor="#ffffe8"><em><strong><code><STRONG><EM><CODE>x</CODE></EM></STRONG></code></strong></em></TD>
27<TD width="520">Pointer or address.</TD>
28    </tr>
29</TABLE>
30<h2>Return Values</h2>
31<P>Unsigned 32-bit integer (<code>u32</code>) rounded up to the 32-byte upper boundary.</P>
32<H2>Description</H2>
33<P>Rounds <code><strong><em>x</em></strong></code> up to the 32-byte upper boundary.</P>
34
35
36
37<h2>See Also</h2>
38
39<p><a href="../list.html#Address Conversion" target="contents">Address Conversion Functions</a>, <a href="OSRoundDown32B.html"><code>OSRoundDown32B</code></a></p>
40<H2>Revision History</H2>
41<P>03/01/2006 Initial version.</P>
42</body>
43</html>