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="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>MATH_QSortStackSize</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MATH_QSortStackSize <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1>
15<H2>Syntax</H2>
16
17<dl>
18  <dd>
19  <PRE><CODE>#include &lt;nitro/math/qsort.h&gt;
20
21</CODE><CODE>static inline u32 MATH_QSortStackSize(u32 num);
22</CODE></PRE>
23  </dd>
24</dl><h2>Arguments</h2>
25
26<table border="1" width="100%">
27
28
29
30    <TR>
31<TD width="176"><em><strong><font face="Courier New">num</font></strong></em></TD>
32<TD width="670">Number of elements in the array to sort.</TD>
33    </TR>
34  </table>
35<h2>Return Values</h2>
36<p>Returns the size of the work buffer required for sorting with the <CODE><A href="MATH_QSort.html">MATH_QSort</A></CODE> function.</p>
37<H2>Description</H2>
38<P>This function obtains the maximum work buffer size needed for sorting with the <CODE><A href="MATH_QSort.html">MATH_QSort</A></CODE> function. If no work buffer is passed as an argument to the <CODE><A href="MATH_QSort.html">MATH_QSort</A></CODE> function, a work area of this size will be allocated from the stack.</P>
39<h2>See Also</h2>
40<P><CODE><A href="MATH_QSort.html">MATH_QSort</A></CODE></P>
41<H2>Revision History</H2>
42<P>2005/04/12 Initial version.</P>
43<hr><p>CONFIDENTIAL</p></body>
44</html>
45