Bridge++
Ver. 1.3.x
Main Page
Namespaces
Classes
Files
File List
File Members
file_utils.cpp
Go to the documentation of this file.
1
14
#include "
file_utils.h
"
15
16
//====================================================================
17
std::string
FileUtils::generate_filename
(
const
char
*fmt, ...)
18
{
19
static
const
int
buf_size = FILENAME_MAX;
20
static
char
buf[buf_size];
// not thread-safe.
21
22
va_list arg;
23
24
va_start(arg, fmt);
25
vsnprintf(buf, buf_size, fmt, arg);
26
va_end(arg);
27
28
return
std::string(buf);
29
}
30
31
32
//==========================================================
33
//==================================================END=====
FileUtils::generate_filename
std::string generate_filename(const char *fmt,...)
Definition:
file_utils.cpp:17
file_utils.h
work
sueda3
svn
bridge
branches
release
version1.3
src
Tools
file_utils.cpp
Generated on Mon Nov 2 2015 22:38:56 for Bridge++ by
1.8.10