Changeset 20105 in vbox for trunk/include/iprt
- Timestamp:
- May 27, 2009 5:28:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/dir.h
r20067 r20105 60 60 * 61 61 * @returns iprt status code. 62 * @param pszPath Path to the directory to create.63 * @param fMode The mode of the new directory.64 */ 62 * @param pszPath Path to the directory to create. 63 * @param fMode The mode of the new directory. 64 */ 65 65 RTDECL(int) RTDirCreate(const char *pszPath, RTFMODE fMode); 66 66 … … 70 70 * 71 71 * @returns iprt status code. 72 * @param pszPath Path to the directory to create.73 * @param fMode The mode of the new directories.72 * @param pszPath Path to the directory to create. 73 * @param fMode The mode of the new directories. 74 74 */ 75 75 RTDECL(int) RTDirCreateFullPath(const char *pszPath, RTFMODE fMode); 76 76 77 77 /** 78 * Creates a directory with a temporary name which is guaranteed not 79 * to exists. It takes a path with a directory name template and 80 * overwrites a portion of it to create the unique name. The template 81 * may be any directory name with some numbers of `Xs` appended to it. 82 * The trailing `Xs` are replaced with the unique numbers. The 83 * directory is created with mode 0700. 84 * 85 * @returns iprt status code. 86 * @param pszTemplate Buffer with the template path. 78 * Creates a new temporary directory with a unique name. 79 * 80 * It takes a path with a directory name template and overwrites a portion of it 81 * to create the unique name. The template may be any directory name with one or 82 * more tailing `X`. The trailing `Xs` will be replaced by alpha numeric 83 * characters to create a directory unique name. 84 * 85 * The directory is created with mode 0700. 86 * 87 * @returns iprt status code. 88 * @param pszTemplate The directory name template on input. The actual 89 * directory name on success. Empty string on failure. 87 90 */ 88 91 RTDECL(int) RTDirCreateTemp(char *pszTemplate);
Note:
See TracChangeset
for help on using the changeset viewer.