VirtualBox

Changeset 26060 in vbox for trunk/include


Ignore:
Timestamp:
Jan 27, 2010 10:09:43 AM (15 years ago)
Author:
vboxsync
Message:

IPRT: Added RTFileOpenF/V.

File:
1 edited

Legend:

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

    r25953 r26060  
    3333#include <iprt/cdefs.h>
    3434#include <iprt/types.h>
     35#include <iprt/stdarg.h>
    3536#ifdef IN_RING3
    3637# include <iprt/fs.h>
     
    240241
    241242/**
     243 * Open a file given as a format string.
     244 *
     245 * @returns iprt status code.
     246 * @param   pFile           Where to store the handle to the opened file.
     247 * @param   fOpen           Open flags, i.e a combination of the RTFILE_O_* defines.
     248 *                          The ACCESS, ACTION and DENY flags are mandatory!
     249 * @param   pszFilenameFmt  Format string givin the path to the file which is to
     250 *                          be opened. (UTF-8)
     251 * @param   ...             Arguments to the format string.
     252 */
     253RTR3DECL(int)  RTFileOpenF(PRTFILE pFile, uint32_t fOpen, const char *pszFilenameFmt, ...);
     254
     255/**
     256 * Open a file given as a format string.
     257 *
     258 * @returns iprt status code.
     259 * @param   pFile           Where to store the handle to the opened file.
     260 * @param   fOpen           Open flags, i.e a combination of the RTFILE_O_* defines.
     261 *                          The ACCESS, ACTION and DENY flags are mandatory!
     262 * @param   pszFilenameFmt  Format string givin the path to the file which is to
     263 *                          be opened. (UTF-8)
     264 * @param   va              Arguments to the format string.
     265 */
     266RTR3DECL(int)  RTFileOpenV(PRTFILE pFile, uint32_t fOpen, const char *pszFilenameFmt, va_list va);
     267
     268/**
    242269 * Close a file opened by RTFileOpen().
    243270 *
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