Changeset 20111 in vbox for trunk/include/iprt/dir.h
- Timestamp:
- May 28, 2009 12:34:52 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/dir.h
r20105 r20111 76 76 77 77 /** 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. 78 * Creates a new directory with a unique name using the given template. 79 * 80 * One or more trailing X'es in the template will be replaced by random alpha 81 * numeric characters until a RTDirCreate succeeds or we run out of patience. 82 * For instance: 83 * "/tmp/myprog-XXXXXX" 84 * 85 * As an alternative to trailing X'es, it 86 * is possible to put 3 or more X'es somewhere inside the directory name. In 87 * the following string only the last bunch of X'es will be modified: 88 * "/tmp/myprog-XXX-XXX.tmp" 84 89 * 85 90 * The directory is created with mode 0700.
Note:
See TracChangeset
for help on using the changeset viewer.