]>
Dogcows Code - chaz/yoink/blob - src/Typesetter.cc
2 /*] Copyright (c) 2009-2011, Charles McGarvey [*****************************
3 **] All rights reserved.
5 * Distributable under the terms and conditions of the 2-clause BSD license;
6 * see the file COPYING for a complete text of the license.
8 *****************************************************************************/
14 #include "Typesetter.hh"
17 void Typesetter::print(const std::string
& format
, ...)
23 va_start(args
, format
);
25 nPrinted
= vsnprintf(buffer
, sizeof(buffer
), format
.c_str(), args
);
28 nPrinted
= std::min(nPrinted
, (int)sizeof(buffer
) - 1);
This page took 0.032035 seconds and 4 git commands to generate.