summaryrefslogtreecommitdiff
path: root/include/osl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-07-15 14:51:22 +0300
committerTor Lillqvist <tml@collabora.com>2015-07-15 14:54:28 +0300
commit23a0fe78733e6e2598f9267af0da6bf9767c3f73 (patch)
tree4b818ed1bc8d473f7f77cbdf42ccb34d7873382c /include/osl
parentd0090009711cd323678e44323706faf72cba6b7d (diff)
Clarify documentation of (mis)features of osl_getExecutableFile()
Change-Id: I106b14a8ce2709c11f23eb1d49924c9c5ab51b50
Diffstat (limited to 'include/osl')
-rw-r--r--include/osl/process.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osl/process.h b/include/osl/process.h
index ca30046af06d..f1fec5017b60 100644
--- a/include/osl/process.h
+++ b/include/osl/process.h
@@ -335,6 +335,12 @@ SAL_DLLPUBLIC oslProcessError SAL_CALL osl_getProcessInfo(
@param strFile [out] the string that receives the executable file path.
@return osl_Process_E_None or does not return.
@see osl_executeProcess
+
+ Ideally this will return the true executable file path as a file:
+ URL, but actually in case something else happens to have been
+ passed as argv[0] to osl_setCommandArgs(), it will return that
+ either as a file URL, or as such in case it doesn't look like an
+ absolute pathname.
*/
SAL_DLLPUBLIC oslProcessError SAL_CALL osl_getExecutableFile(
rtl_uString **strFile);