1 /* This file is part of the YAZ toolkit.
2 * Copyright (C) 1995-2013 Index Data
3 * See the file LICENSE for details.
7 * \brief snprintf wrapper
15 #include <yaz/snprintf.h>
17 void yaz_vsnprintf(char *buf, size_t size, const char *fmt, va_list ap)
20 vsnprintf(buf, size, fmt, ap);
23 _vsnprintf(buf, size-1, fmt, ap);
26 vsprintf(buf, fmt, ap);
31 void yaz_snprintf(char *buf, size_t size, const char *fmt, ...)
35 yaz_vsnprintf(buf, size, fmt, ap);
42 * c-file-style: "Stroustrup"
43 * indent-tabs-mode: nil
45 * vim: shiftwidth=4 tabstop=8 expandtab