VirtualBox

Changeset 10911 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Jul 28, 2008 12:58:44 PM (16 years ago)
Author:
vboxsync
Message:

IPRT: Added RTPathSetCurrent.

File:
1 edited

Legend:

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

    r8245 r10911  
    127127 */
    128128RTDECL(bool) RTPathExists(const char *pszPath);
     129
     130/**
     131 * Sets the current working directory of the process.
     132 *
     133 * @returns IPRT status code.
     134 * @param   pszPath         The path to the new working directory.
     135 */
     136RTDECL(int)  RTPathSetCurrent(const char *pszPath);
     137
     138/**
     139 * Gets the current working directory of the process.
     140 *
     141 * @returns IPRT status code.
     142 * @param   pszPath         Where to store the path.
     143 * @param   cchPath         The size of the buffer pszPath points to.
     144 */
     145RTDECL(int)  RTPathGetCurrent(char *pszPath, size_t cchPath);
    129146
    130147/**
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