1 /* This file is part of the YAZ toolkit.
2 * Copyright (C) 1995-2010 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-1, fmt, ap);
23 vsprintf(buf, fmt, ap);
28 void yaz_snprintf(char *buf, size_t size, const char *fmt, ...)
32 yaz_vsnprintf(buf, size, fmt, ap);
39 * c-file-style: "Stroustrup"
40 * indent-tabs-mode: nil
42 * vim: shiftwidth=4 tabstop=8 expandtab