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 <nn/dbg.h> 14 15size_t GetArgBinarySize( 16 void 17); 18</pre> 19 </div> 20 <h2>Arguments</h2> 21 <div class="section"> 22 <p>None.</p> 23 </div> 24 <h2>Return Values</h2> 25 <div class="section">Size of the binary region stored in the startup argument buffer. </div> 26 <h2>Description</h2> 27 <div class="section"> 28 <p>Gets the size of the argument buffer stored in binary.</p><P> 29Returns 0 if the startup argument buffer does not contain binary data or if there is no startup argument buffer. 30</P><PRE> 31 // Binary data display 32 const void* pArea = nn::dbg::CTR::GetArgBinary(); 33 size_t size = <font color="red">nn::dbg::CTR::GetArgBinarySize()</font>; 34 35 NN_LOG("buffer 0x%x size 0x%x\n", pArea, size); 36</PRE><P> 37 Always returns 0 in release builds. 38</P></div> 39 <h2>Revision History</h2> 40 <div class="section"> 41 <dl class="history"> 42 <dt>2011/12/14</dt> 43 <dd>Initial version.<br /> 44 </dd> 45 </dl> 46 </div> 47 <hr><p>CONFIDENTIAL</p></body> 48</html>