Changeset 16516 in vbox
- Timestamp:
- Feb 4, 2009 3:56:35 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 42439
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/path.h
r16252 r16516 213 213 214 214 /** 215 * Strips the filename from a path. 216 * 217 * @param pszPath Path which filename should be stripped. 218 * If only filename in the string a '.' will be returned. 215 * Strips the filename from a path. Truncates the given string in-place by overwriting the 216 * last path separator character with a null byte in a platform-neutral way. 217 * 218 * @param pszPath Path from which filename should be extracted, will be truncated. 219 * If the string contains no path separator, it will be changed to a "." string. 219 220 */ 220 221 RTDECL(void) RTPathStripFilename(char *pszPath); -
trunk/src/VBox/Runtime/r3/path.cpp
r14324 r16516 48 48 49 49 /** 50 * Strips the filename from a path. 51 * 52 * @param pszPath Path which filename should be extracted from.53 * If only filename in the string a '.' will be returned.54 * 50 * Strips the filename from a path. Truncates the given string in-place by overwriting the 51 * last path separator character with a null byte in a platform-neutral way. 52 * 53 * @param pszPath Path from which filename should be extracted, will be truncated. 54 * If the string contains no path separator, it will be changed to a "." string. 55 55 */ 56 56 RTDECL(void) RTPathStripFilename(char *pszPath)
Note:
See TracChangeset
for help on using the changeset viewer.