00001 /* Formatted output to strings. 00002 Copyright (C) 2004 Free Software Foundation, Inc. 00003 Written by Simon Josefsson and Yoann Vandoorselaere <yoann@prelude-ids.org>. 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU Lesser General Public License as published by 00007 the Free Software Foundation; either version 2.1, or (at your option) 00008 any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU Lesser General Public License for more details. 00014 00015 You should have received a copy of the GNU Lesser General Public License along 00016 with this program; if not, write to the Free Software Foundation, 00017 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ 00018 00019 #ifndef VSNPRINTF_H 00020 #define VSNPRINTF_H 00021 00022 #include <stdarg.h> 00023 00024 /* Get vsnprintf declaration, if available. */ 00025 #include <stdio.h> 00026 00027 #if defined HAVE_DECL_VSNPRINTF && !HAVE_DECL_VSNPRINTF 00028 int vsnprintf (char *str, size_t size, const char *format, va_list args); 00029 #endif 00030 00031 #endif /* VSNPRINTF_H */