2 * Copyright (C) 2007, Index Data ApS
3 * See the file LICENSE for details.
5 * $Id: snprintf.c,v 1.2 2007-02-26 14:24:00 adam Exp $
9 * \brief snprintf wrapper
14 #include <yaz/snprintf.h>
16 void yaz_vsnprintf(char *buf, size_t size, const char *fmt, va_list ap)
19 vsnprintf(buf, size, fmt, ap);
22 _vsnprintf(buf, size, fmt, ap);
24 vsprintf(buf, fmt, ap);
29 void yaz_snprintf(char *buf, size_t size, const char *fmt, ...)
33 yaz_vsnprintf(buf, size, fmt, ap);
40 * indent-tabs-mode: nil
42 * vim: shiftwidth=4 tabstop=8 expandtab