Changeset 17008 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Feb 23, 2009 12:23:01 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 43206
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/stream.cpp
r14060 r17008 200 200 * @param args Arguments to the format string. 201 201 */ 202 RTR3DECL(int) RTStrmOpen fV(const char *pszMode, PRTSTREAM *ppStream, const char *pszFilenameFmt, va_list args)202 RTR3DECL(int) RTStrmOpenFV(const char *pszMode, PRTSTREAM *ppStream, const char *pszFilenameFmt, va_list args) 203 203 { 204 204 int rc; 205 205 char szFilename[RTPATH_MAX]; 206 size_t cch = RTStrPrintf (szFilename, sizeof(szFilename), pszFilenameFmt, args);206 size_t cch = RTStrPrintfV(szFilename, sizeof(szFilename), pszFilenameFmt, args); 207 207 if (cch < sizeof(szFilename)) 208 208 rc = RTStrmOpen(szFilename, pszMode, ppStream); … … 226 226 * @param ... Arguments to the format string. 227 227 */ 228 RTR3DECL(int) RTStrmOpen f(const char *pszMode, PRTSTREAM *ppStream, const char *pszFilenameFmt, ...)228 RTR3DECL(int) RTStrmOpenF(const char *pszMode, PRTSTREAM *ppStream, const char *pszFilenameFmt, ...) 229 229 { 230 230 va_list args; 231 231 va_start(args, pszFilenameFmt); 232 int rc = RTStrmOpen fV(pszMode, ppStream, pszFilenameFmt, args);232 int rc = RTStrmOpenFV(pszMode, ppStream, pszFilenameFmt, args); 233 233 va_end(args); 234 234 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.