diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-10-28 15:24:48 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-10-28 15:24:48 +0000 |
commit | b73261df29da617c51f29e2aadf8cd53493ace6a (patch) | |
tree | 673dc6d086c55190b4aab0bd529d3c4cc42e20a7 /sal/inc/osl | |
parent | fca948fc5879bdb443d150ffd604a0e467c81172 (diff) |
INTEGRATION: CWS valgrind02 (1.16.86); FILE MERGED
2004/10/08 15:53:23 mhu 1.16.86.1: #i35209# Added function 'osl_setCommandArgs()', adapted 'osl_getExecutableFile()' and 'osl_getCommandArg[Count]()', cleaned up previous 'getCmdLine()' mess, removed unused / obsolete code.
Diffstat (limited to 'sal/inc/osl')
-rw-r--r-- | sal/inc/osl/process.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sal/inc/osl/process.h b/sal/inc/osl/process.h index fe031aa685f9..ce335eef04a9 100644 --- a/sal/inc/osl/process.h +++ b/sal/inc/osl/process.h @@ -2,9 +2,9 @@ * * $RCSfile: process.h,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: hr $ $Date: 2004-02-03 13:15:31 $ + * last change: $Author: rt $ $Date: 2004-10-28 16:24:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -422,6 +422,15 @@ sal_uInt32 SAL_CALL osl_getCommandArgCount(void); */ oslProcessError SAL_CALL osl_getCommandArg(sal_uInt32 nArg, rtl_uString **strCommandArg); +/** Set the command-line arguments as passed to the main-function of this process. + @param argc [in] The number of elements in the argv array. + @param argv [in] The array of command-line arguments. + @see osl_getExecutableFile + @see osl_getCommandArgCount + @see osl_getCommandArg +*/ +void SAL_CALL osl_setCommandArgs (int argc, char **argv); + /** Get the value of one enviroment variable. @param strVar [in] denotes the name of the variable to get. @param strValue [out] string that receives the value of environment variable. |