VirtualBox

Changeset 70891 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Feb 7, 2018 2:07:57 PM (7 years ago)
Author:
vboxsync
Message:

iprt/path.h: RTPathAbs doc update.

File:
1 edited

Legend:

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

    r70428 r70891  
    294294/**
    295295 * Get the absolute path (starts from root, no . or .. components), doesn't have
    296  * to exist. Note that this method is designed to never perform actual file
    297  * system access, therefore symlinks are not resolved.
     296 * to exist.
     297 *
     298 * Note that this method is designed to never perform actual file system access,
     299 * therefore symlinks are not resolved.
    298300 *
    299301 * @returns iprt status code.
     
    301303 * @param   pszAbsPath      Where to store the absolute path.
    302304 * @param   cchAbsPath      Size of the buffer.
     305 *
     306 * @note    Current implementation is buggy and will remove trailing slashes
     307 *          that would normally specify a directory.  Don't depend on this.
    303308 */
    304309RTDECL(int) RTPathAbs(const char *pszPath, char *pszAbsPath, size_t cchAbsPath);
     
    310315 * @returns NULL if RTPathAbs() or RTStrDup() fails.
    311316 * @param   pszPath         The path to resolve.
     317 *
     318 * @note    Current implementation is buggy and will remove trailing slashes
     319 *          that would normally specify a directory.  Don't depend on this.
    312320 */
    313321RTDECL(char *) RTPathAbsDup(const char *pszPath);
     
    325333 * @param   pszAbsPath      Where to store the absolute path.
    326334 * @param   cchAbsPath      Size of the buffer.
     335 *
     336 * @note    Current implementation is buggy and will remove trailing slashes
     337 *          that would normally specify a directory.  Don't depend on this.
    327338 */
    328339RTDECL(int) RTPathAbsEx(const char *pszBase, const char *pszPath, char *pszAbsPath, size_t cchAbsPath);
     
    337348 *                          is equivalent to RTPathAbs(pszPath, ...).
    338349 * @param   pszPath         The path to resolve.
     350 *
     351 * @note    Current implementation is buggy and will remove trailing slashes
     352 *          that would normally specify a directory.  Don't depend on this.
    339353 */
    340354RTDECL(char *) RTPathAbsExDup(const char *pszBase, const char *pszPath);
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