<html> <head> <title>Global Functions in Namespace in Sourcefile process.h</title> <link rel="stylesheet" type="text/css" href="../cpp.css"> </head> <body> <div id="adc-cppref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="1" cellspacing="0"> <tr align="center" valign="top"> <td class="navimain"> <a href="../index.html">Overview</a> </td> <td class="navimain"> <a href="index.html">Namespace</a> </td> <td class="navimainnone"> Class </td> <td class="navimain"> <a href="../index-files/index-1.html">Index</a> </td> <td class="navimain"> <a href="../help.html">Help</a> </td> </tr> </table> <table class="navisub" cellpadding="0" cellspacing="3"></table> <hr> <div class="title"><h2>Global Functions in Global Namespace C++<br> in Sourcefile process.h</h2> </div><hr> <dl class="member"> <dt class="member"><a name="rtl_getAppCommandArg-1648"> </a>rtl_getAppCommandArg</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-oslProcessError.html">oslProcessError</a> <strong>rtl_getAppCommandArg</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_uInt32.html">sal_uInt32</a> </td> <td> nArg,</td> </tr> <tr> <td><a href="t-rtl_uString.html">rtl_uString</a> * *</td> <td>strCommandArg );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Get the nArg-th command-line argument passed to the main-function of this process. </dd> <dt>Description</dt> <dd> This functions differs from osl_getCommandArg() in filtering any bootstrap values given by command args, that means that all arguments starting with "-env:" will be ignored by this function. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">nArg</td> <td><pre>The number of the argument to return. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">strCommandArg</td> <td><pre>The string receives the nArg-th command-line argument. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>osl_Process_E_None or does not return. </dd> <dt>See Also</dt> <dd><a href="o-process.h.html#osl_getCommandArg-933">osl_getCommandArg()</a> <br> rtl_getCommandArgCount() <br> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_getAppCommandArgCount-1649"> </a>rtl_getAppCommandArgCount</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> <a href="t-sal_uInt32.html">sal_uInt32</a> <strong>rtl_getAppCommandArgCount</strong>();</dt> <dd><table class="param-table"></table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Returns the number of command line arguments at process start. </dd> <dt>Description</dt> <dd>This functions differs from osl_getCommandArg() in filtering any bootstrap values given by command args, that means that all arguments starting with "-env:" will be ignored by this function. </dd> <dt>Return</dt> <dd>the number of commandline arguments passed to the main-function of this process. </dd> <dt>See Also</dt> <dd><a href="o-process.h.html#osl_getCommandArgCount-932">osl_getCommandArgCount()</a> <br> rtl_getCommandArg() <br> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="rtl_getGlobalProcessId-1647"> </a>rtl_getGlobalProcessId</dt> <dd class="member"><dl> <dt class="simple">extern "C"<br> void <strong>rtl_getGlobalProcessId</strong>(</dt> <dd><table class="param-table"> <tr> <td><a href="t-sal_uInt8.html">sal_uInt8</a> * </td> <td> pTargetUUID );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagyes">YES</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>gets a 16-byte fixed size identifier which is guaranteed not to change during the current process. </dd> <dt>Description</dt> <dd>The current implementation creates a 16-byte uuid without using the ethernet address of system. Thus the identifier is different from identifiers created in other processes with a very probability. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pTargetUUID</td> <td><pre>16 byte of memory </pre></td> </tr> </table> </dd> <dt>See Also</dt> <dd>rtl_createUiid() <br> </dd> </dl> </dd> </dl> <hr> <a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p> </div> <!-- id="adc-cppref" --> </body> </html>