cfs/src/perfutil/Util.cc
/// A safe version of sprintf.
A safe version of sprintf.
A safe version of sprintf .
std::string
format(const char* format, ...) {
  va_list ap;
  va_start(ap, format);
  string s = vformat(format, ap);
  va_end(ap);
  return s;
}
std :: string format ( const char * format , ... ) { va_list ap ; va_start ( ap , format ) ; string s = vformat ( format , ap ) ; va_end ( ap ) ; return s ; }
A safe version of sprintf.
A safe version of sprintf .