Changeset 36577 in vbox for trunk/include/iprt
- Timestamp:
- Apr 6, 2011 1:35:17 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 71017
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/dir.h
r33820 r36577 90 90 */ 91 91 RTDECL(int) RTDirCreateTemp(char *pszTemplate); 92 93 /** 94 * Creates a new directory with a unique name by appending a number. 95 * 96 * First it is tried to create the directory without any numbers appended. 97 * When this fails a number string is appended (starting with 1) separated by 98 * the optional separator. The numbers are zero padded. 99 * 100 * On success @a pszPath contains the path created. 101 * 102 * @returns iprt status code. 103 * @param pszPath Path to the directory to create. 104 * @param cbSize The size of pszPath. Needs enough space for holding the 105 * digits and the optional separator. 106 * @param fMode The mode of the new directory. 107 * @param cchDigits How many digits should the number maximal have. 108 * @param chSep The separator used between the path and the number. Can 109 * be zero. (optional) 110 */ 111 RTDECL(int) RTDirCreateUniqueNumbered(char *pszPath, size_t cbSize, RTFMODE fMode, size_t cchDigits, char chSep); 92 112 93 113 /**
Note:
See TracChangeset
for help on using the changeset viewer.