1 /* This file is part of the YAZ toolkit.
2 * Copyright (C) 1995-2008 Index Data
3 * See the file LICENSE for details.
7 * \brief snprintf wrapper
12 #include <yaz/snprintf.h>
14 void yaz_vsnprintf(char *buf, size_t size, const char *fmt, va_list ap)
17 vsnprintf(buf, size, fmt, ap);
20 _vsnprintf(buf, size, fmt, ap);
22 vsprintf(buf, fmt, ap);
27 void yaz_snprintf(char *buf, size_t size, const char *fmt, ...)
31 yaz_vsnprintf(buf, size, fmt, ap);
38 * indent-tabs-mode: nil
40 * vim: shiftwidth=4 tabstop=8 expandtab