VirtualBox

Changeset 26520 in vbox for trunk/include


Ignore:
Timestamp:
Feb 15, 2010 1:47:34 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57691
Message:

iprt: Added RTPathChangeToUnixSlashes and RTPathChangeToDosSlashes.

File:
1 edited

Legend:

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

    r26476 r26520  
    262262 */
    263263RTDECL(size_t) RTPathStripTrailingSlash(char *pszPath);
     264
     265/**
     266 * Changes all the slahes in the specified path to DOS style.
     267 *
     268 * Unless @a fForce is set, nothing will be done when on a UNIX flavored system
     269 * since paths wont work with DOS style slashes there.
     270 *
     271 * @returns @a pszPath.
     272 * @param   pszPath             The path to modify.
     273 * @param   fForce              Whether to force the conversion on non-DOS OSes.
     274 */
     275RTDECL(char *) RTPathChangeToDosSlashes(char *pszPath, bool fForce);
     276
     277/**
     278 * Changes all the slahes in the specified path to unix style.
     279 *
     280 * Unless @a fForce is set, nothing will be done when on a UNIX flavored system
     281 * since paths wont work with DOS style slashes there.
     282 *
     283 * @returns @a pszPath.
     284 * @param   pszPath             The path to modify.
     285 * @param   fForce              Whether to force the conversion on non-DOS OSes.
     286 */
     287RTDECL(char *) RTPathChangeToUnixSlashes(char *pszPath, bool fForce);
    264288
    265289/**
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