VirtualBox

Changeset 17008 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Feb 23, 2009 12:23:01 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43206
Message:

IPRT: Expose (and fix) RTStrmOpenF and RTStrmOpenFV.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/stream.cpp

    r14060 r17008  
    200200 * @param   args            Arguments to the format string.
    201201 */
    202 RTR3DECL(int) RTStrmOpenfV(const char *pszMode, PRTSTREAM *ppStream, const char *pszFilenameFmt, va_list args)
     202RTR3DECL(int) RTStrmOpenFV(const char *pszMode, PRTSTREAM *ppStream, const char *pszFilenameFmt, va_list args)
    203203{
    204204    int     rc;
    205205    char    szFilename[RTPATH_MAX];
    206     size_t  cch = RTStrPrintf(szFilename, sizeof(szFilename), pszFilenameFmt, args);
     206    size_t  cch = RTStrPrintfV(szFilename, sizeof(szFilename), pszFilenameFmt, args);
    207207    if (cch < sizeof(szFilename))
    208208        rc = RTStrmOpen(szFilename, pszMode, ppStream);
     
    226226 * @param   ...             Arguments to the format string.
    227227 */
    228 RTR3DECL(int) RTStrmOpenf(const char *pszMode, PRTSTREAM *ppStream, const char *pszFilenameFmt, ...)
     228RTR3DECL(int) RTStrmOpenF(const char *pszMode, PRTSTREAM *ppStream, const char *pszFilenameFmt, ...)
    229229{
    230230    va_list args;
    231231    va_start(args, pszFilenameFmt);
    232     int rc = RTStrmOpenfV(pszMode, ppStream, pszFilenameFmt, args);
     232    int rc = RTStrmOpenFV(pszMode, ppStream, pszFilenameFmt, args);
    233233    va_end(args);
    234234    return rc;
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