VirtualBox

Changeset 78104 in vbox for trunk/include/iprt/path.h


Ignore:
Timestamp:
Apr 10, 2019 5:33:18 PM (6 years ago)
Author:
vboxsync
Message:

IPRT,*: Added fFlags to RTPathAbsExDup so it matches the new RTPAthAbsEx. bugref:9172

File:
1 edited

Legend:

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

    r78098 r78104  
    365365 * Same as RTPathAbsEx only the result is RTStrDup()'ed.
    366366 *
    367  * @returns Pointer to the absolute path. Use RTStrFree() to free this string.
    368  * @returns NULL if RTPathAbsEx() or RTStrDup() fails.
     367 * @returns Pointer to the absolute path.  Use RTStrFree() to free this string.
     368 * @retval  NULL if RTPathAbsEx() or RTStrDup() fails.
     369 *
    369370 * @param   pszBase         The base path to act like a current directory.
    370371 *                          When NULL, the actual cwd is used (i.e. the call
    371372 *                          is equivalent to RTPathAbs(pszPath, ...).
    372373 * @param   pszPath         The path to resolve.
    373  *
    374  * @note    Current implementation is buggy and will remove trailing slashes
    375  *          that would normally specify a directory.  Don't depend on this.
    376  */
    377 RTDECL(char *) RTPathAbsExDup(const char *pszBase, const char *pszPath);
     374 * @param   fFlags          One of the RTPATH_STR_F_STYLE_XXX flags combined
     375 *                          with any of the RTPATHABS_F_XXX ones.  Most
     376 *                          users will pass RTPATH_STR_F_STYLE_HOST (0).
     377 */
     378RTDECL(char *) RTPathAbsExDup(const char *pszBase, const char *pszPath, uint32_t fFlags);
    378379
    379380/**
Note: See TracChangeset for help on using the changeset viewer.

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