VirtualBox

Changeset 20105 in vbox for trunk/include/iprt


Ignore:
Timestamp:
May 27, 2009 5:28:34 PM (16 years ago)
Author:
vboxsync
Message:

iprt/dir.h: RTDirCreateTemp spec clearification.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/dir.h

    r20067 r20105  
    6060 *
    6161 * @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 */
    6565RTDECL(int) RTDirCreate(const char *pszPath, RTFMODE fMode);
    6666
     
    7070 *
    7171 * @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.
    7474 */
    7575RTDECL(int) RTDirCreateFullPath(const char *pszPath, RTFMODE fMode);
    7676
    7777/**
    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.
    8790 */
    8891RTDECL(int) RTDirCreateTemp(char *pszTemplate);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette