1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7<title>GetArgBinarySize</title>
8  </head>
9  <body>
10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/dbg/Overview.html">dbg</a>::<a href="../../../nn/dbg/CTR/Overview.html">CTR</a>::GetArgBinarySize</CODE> Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">#include &lt;nn/dbg.h&gt;
14size_t GetArgBinarySize(
15     void
16);
17</pre>
18    </div>
19<h2>Parameters</h2>
20    <div class="section">
21<p>None.</p>
22    </div>
23<h2>Return Values</h2>
24<div class="section">Size of the binary region stored in the startup argument buffer. </div>
25<h2>Description</h2>
26    <div class="section">
27<p>Gets the size of the argument buffer stored in binary.</p><P>
28Returns 0 if the startup argument buffer does not contain binary data or if there is no startup argument buffer.
29</P><PRE>
30  // Binary data display
31  const void* pArea = nn::dbg::CTR::GetArgBinary();
32  size_t size       = <font color="red">nn::dbg::CTR::GetArgBinarySize()</font>;
33
34  NN_LOG("buffer 0x%x size 0x%x\n", pArea, size);
35</PRE><P>
36Always returns 0 in release builds.
37</P></div>
38<h2>Revision History</h2>
39    <div class="section">
40      <dl class="history">
41        <dt>2011/12/14</dt>
42<dd>Initial version.<br />
43        </dd>
44      </dl>
45    </div>
46  <hr><p>CONFIDENTIAL</p></body>
47</html>
48