VirtualBox

Changeset 85383 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Jul 18, 2020 3:26:42 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139397
Message:

iprt/path.h: RTPathFindCommon[Ex] doc & testcase update. Testcase moved into tstRTPath.

File:
1 edited

Legend:

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

    r85382 r85383  
    525525 * The paths are not made absolute or real, they are taken as given.
    526526 *
    527  * @returns Length (in characters) of the common path, 0 if not found.
     527 * @returns The common path length as represented by \a papszPaths[0], 0 if not
     528 *          found or invalid input.
    528529 * @param   cPaths      Number of paths in \a papszPaths.
    529  * @param   papszPaths  Array of paths to find common path for.
     530 * @param   papszPaths  Array of paths to find common path for.  The paths must
     531 *                      not contains ".." sequences, as that's too complicated
     532 *                      to handle.
    530533 */
    531534RTDECL(size_t) RTPathFindCommon(size_t cPaths, const char * const *papszPaths);
     
    536539 * The paths are not made absolute or real, they are taken as given.
    537540 *
    538  * @returns Length (in characters) of the common path, 0 if not found.
     541 * @returns The common path length as represented by \a papszPaths[0], 0 if not
     542 *          found or invalid input.
    539543 * @param   cPaths      Number of paths in \a papszPaths.
    540  * @param   papszPaths  Array of paths to find common path for.
    541  * @param   fFlags      RTPATH_STR_F_STYLE_XXX. Other RTPATH_STR_F_XXX flags
    542  *                      will be ignored.
     544 * @param   papszPaths  Array of paths to find common path for.  The paths must
     545 *                      not contains ".." sequences, as that's too complicated
     546 *                      to handle.
     547 * @param   fFlags      RTPATH_STR_F_STYLE_XXX and RTPATH_STR_F_NO_START if
     548 *                      wanted.  Other RTPATH_STR_F_XXX flags will be ignored.
    543549 */
    544550RTDECL(size_t) RTPathFindCommonEx(size_t cPaths, const char * const *papszPaths, uint32_t fFlags);
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