Changeset 70891 in vbox for trunk/include/iprt
- Timestamp:
- Feb 7, 2018 2:07:57 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/path.h
r70428 r70891 294 294 /** 295 295 * 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. 298 300 * 299 301 * @returns iprt status code. … … 301 303 * @param pszAbsPath Where to store the absolute path. 302 304 * @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. 303 308 */ 304 309 RTDECL(int) RTPathAbs(const char *pszPath, char *pszAbsPath, size_t cchAbsPath); … … 310 315 * @returns NULL if RTPathAbs() or RTStrDup() fails. 311 316 * @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. 312 320 */ 313 321 RTDECL(char *) RTPathAbsDup(const char *pszPath); … … 325 333 * @param pszAbsPath Where to store the absolute path. 326 334 * @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. 327 338 */ 328 339 RTDECL(int) RTPathAbsEx(const char *pszBase, const char *pszPath, char *pszAbsPath, size_t cchAbsPath); … … 337 348 * is equivalent to RTPathAbs(pszPath, ...). 338 349 * @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. 339 353 */ 340 354 RTDECL(char *) RTPathAbsExDup(const char *pszBase, const char *pszPath);
Note:
See TracChangeset
for help on using the changeset viewer.