VirtualBox

Changeset 19924 in vbox for trunk/include


Ignore:
Timestamp:
May 22, 2009 9:52:47 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
47626
Message:

IPRT,SUP: Renamed RTPathProgram to RTPathExecDir to make it clear what it returns. Renamed hardened version of it as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/path.h

    r16516 r19924  
    346346
    347347/**
    348  * Gets the program path.
     348 * Gets the path to the directory containing the executable.
    349349 *
    350350 * @returns iprt status code.
     
    352352 * @param   cchPath     Buffer size in bytes.
    353353 */
    354 RTDECL(int) RTPathProgram(char *pszPath, size_t cchPath);
     354RTDECL(int) RTPathExecDir(char *pszPath, size_t cchPath);
    355355
    356356/**
     
    364364
    365365/**
    366  * Gets the directory of shared libraries. This is not the same as
    367  * RTPathAppPrivateArch() as Linux depends all shared libraries in
    368  * a common global directory where ld.so can found them.
     366 * Gets the directory of shared libraries.
     367 *
     368 * This is not the same as RTPathAppPrivateArch() as Linux depends all shared
     369 * libraries in a common global directory where ld.so can found them.
    369370 *
    370371 * Linux:    /usr/lib
    371372 * Windows:  @<program files directory@>/@<application@>
    372  * Old path: same as RTPathProgram()
     373 * Old path: same as RTPathExecDir()
    373374 *
    374375 * @returns iprt status code.
     
    384385 * Linux:    /usr/shared/@<application@>
    385386 * Windows:  @<program files directory@>/@<application@>
    386  * Old path: same as RTPathProgram()
     387 * Old path: same as RTPathExecDir()
    387388 *
    388389 * @returns iprt status code.
     
    398399 * Linux:    /usr/lib/@<application@>
    399400 * Windows:  @<program files directory@>/@<application@>
    400  * Old path: same as RTPathProgram()
     401 * Old path: same as RTPathExecDir()
    401402 *
    402403 * @returns iprt status code.
     
    411412 * Linux:    /usr/share/doc/@<application@>
    412413 * Windows:  @<program files directory@>/@<application@>
    413  * Old path: same as RTPathProgram()
     414 * Old path: same as RTPathExecDir()
    414415 *
    415416 * @returns iprt status code.
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette