VirtualBox

Changeset 42708 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Aug 9, 2012 10:15:38 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
79914
Message:

Runtime: add an fMode parameter to RTDirCreateTemp() and adjust callers.

File:
1 edited

Legend:

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

    r39641 r42708  
    9191 *          "/tmp/myprog-XXX-XXX.tmp"
    9292 *
    93  * The directory is created with mode 0700.
    94  *
    9593 * @returns iprt status code.
    9694 * @param   pszTemplate     The directory name template on input. The actual
    9795 *                          directory name on success. Empty string on failure.
    98  */
    99 RTDECL(int) RTDirCreateTemp(char *pszTemplate);
     96 * @param   fMode           The mode to create the directory with.  Use 0700
     97 *                          unless you have reason not to.
     98 */
     99RTDECL(int) RTDirCreateTemp(char *pszTemplate, RTFMODE fMode);
    100100
    101101/**
Note: See TracChangeset for help on using the changeset viewer.

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