1 /* GLIB - Library of useful routines for C programming 2 * Copyright (C) 2003 Matthias Clasen 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the 16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 * Boston, MA 02111-1307, USA. 18 */ 19 #ifndef __GNULIB_PRINTF_H__ 20 #define __GNULIB_PRINTF_H__ 21 22 #include <stdarg.h> 23 #include <stdio.h> 24 25 int _g_gnulib_printf (char const *format, 26 ...); 27 int _g_gnulib_fprintf (FILE *file, 28 char const *format, 29 ...); 30 int _g_gnulib_sprintf (char *string, 31 char const *format, 32 ...); 33 int _g_gnulib_snprintf (char *string, 34 size_t n, 35 char const *format, 36 ...); 37 int _g_gnulib_vprintf (char const *format, 38 va_list args); 39 int _g_gnulib_vfprintf (FILE *file, 40 char const *format, 41 va_list args); 42 int _g_gnulib_vsprintf (char *string, 43 char const *format, 44 va_list args); 45 int _g_gnulib_vsnprintf (char *string, 46 size_t n, 47 char const *format, 48 va_list args); 49 int _g_gnulib_vasprintf (char **result, 50 char const *format, 51 va_list args); 52 53 54 #endif /* __GNULIB_PRINTF_H__ */ 55 56 57 58