- Timestamp:
- Apr 9, 2020 6:53:23 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 137132
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mangling.h
r83546 r83661 1741 1741 # define RTProcDaemonize RT_MANGLER(RTProcDaemonize) 1742 1742 # define RTProcDaemonizeUsingFork RT_MANGLER(RTProcDaemonizeUsingFork) 1743 # define RTProcExecutablePath RT_MANGLER(RTProcExecutablePath) 1743 1744 # define RTProcGetAffinityMask RT_MANGLER(RTProcGetAffinityMask) 1744 1745 # define RTProcGetExecutablePath RT_MANGLER(RTProcGetExecutablePath) -
trunk/include/iprt/process.h
r82968 r83661 330 330 * 331 331 * @returns Pointer to read-only name string. 332 * @note IPRT must've been initialized or the string will be empty. 332 333 */ 333 334 RTR3DECL(const char *) RTProcShortName(void); … … 335 336 /** 336 337 * Gets the path to the executable image of the current process. 338 * 339 * @returns Pointer to read-only path string. 340 * @note IPRT must've been initialized or the string will be empty. 341 */ 342 RTR3DECL(const char *) RTProcExecutablePath(void); 343 344 /** 345 * Gets a copy of the path to the executable image of the current process. 337 346 * 338 347 * @returns pszExecPath on success. NULL on buffer overflow or other errors. … … 340 349 * @param pszExecPath Where to store the path. 341 350 * @param cbExecPath The size of the buffer. 351 * @note IPRT must've been initialized or the string will be empty. 342 352 */ 343 353 RTR3DECL(char *) RTProcGetExecutablePath(char *pszExecPath, size_t cbExecPath); -
trunk/src/VBox/Runtime/r3/process.cpp
r82968 r83661 113 113 114 114 115 RTR3DECL(const char *) RTProcExecutablePath(void) 116 { 117 return g_szrtProcExePath; 118 } 119 120 115 121 RTR3DECL(const char *) RTProcShortName(void) 116 122 {
Note:
See TracChangeset
for help on using the changeset viewer.