LibreOffice
LibreOffice 24.2 SDK C/C++ API Reference
|
Go to the source code of this file.
Functions | |
SAL_DLLPUBLIC void | rtl_getGlobalProcessId (sal_uInt8 *pTargetUUID) |
gets a 16-byte fixed size identifier which is guaranteed not to change during the current process. More... | |
SAL_DLLPUBLIC oslProcessError | rtl_getAppCommandArg (sal_uInt32 nArg, rtl_uString **strCommandArg) |
Get the nArg-th command-line argument passed to the main-function of this process. More... | |
SAL_DLLPUBLIC sal_uInt32 | rtl_getAppCommandArgCount (void) |
Returns the number of command line arguments at process start. More... | |
SAL_DLLPUBLIC oslProcessError rtl_getAppCommandArg | ( | sal_uInt32 | nArg, |
rtl_uString ** | strCommandArg | ||
) |
Get the nArg-th command-line argument passed to the main-function of this process.
This function 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.
[in] | nArg | The number of the argument to return. |
[out] | strCommandArg | The string receives the nArg-th command-line argument. |
osl_Process_E_None | or does not return. |
SAL_DLLPUBLIC sal_uInt32 rtl_getAppCommandArgCount | ( | void | ) |
Returns the number of command line arguments at process start.
This function 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.
SAL_DLLPUBLIC void rtl_getGlobalProcessId | ( | sal_uInt8 * | pTargetUUID | ) |
gets a 16-byte fixed size identifier which is guaranteed not to change during the current process.
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.
pTargetUUID | 16 byte of memory |