13389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen/* GLIB - Library of useful routines for C programming
23389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen * Copyright (C) 2003  Matthias Clasen
33389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen *
43389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen * This library is free software; you can redistribute it and/or
53389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen * modify it under the terms of the GNU Lesser General Public
63389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen * License as published by the Free Software Foundation; either
73389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen * version 2 of the License, or (at your option) any later version.
83389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen *
93389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen * This library is distributed in the hope that it will be useful,
103389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen * but WITHOUT ANY WARRANTY; without even the implied warranty of
113389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
123389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen * Lesser General Public License for more details.
133389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen *
143389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen * You should have received a copy of the GNU Lesser General Public
153389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen * License along with this library; if not, write to the
163389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
173389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen * Boston, MA 02111-1307, USA.
183389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen */
193389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen#ifndef __GNULIB_PRINTF_H__
203389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen#define __GNULIB_PRINTF_H__
213389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen
223389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen#include <stdarg.h>
231fd50a1454aba1917878b41ff9c5a2d81ab59169Hans Breuer#include <stdio.h>
243389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen
253389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasenint _g_gnulib_printf    (char const *format,
263389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 ...);
273389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasenint _g_gnulib_fprintf   (FILE        *file,
283389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 char const *format,
293389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 ...);
303389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasenint _g_gnulib_sprintf   (char       *string,
313389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 char const *format,
323389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 ...);
333389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasenint _g_gnulib_snprintf  (char       *string,
343389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 size_t       n,
353389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 char const *format,
363389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 ...);
373389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasenint _g_gnulib_vprintf   (char const *format,
383389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 va_list      args);
393389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasenint _g_gnulib_vfprintf  (FILE        *file,
403389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 char const *format,
413389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 va_list      args);
423389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasenint _g_gnulib_vsprintf  (char       *string,
433389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 char const *format,
443389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 va_list      args);
453389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasenint _g_gnulib_vsnprintf (char       *string,
463389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 size_t       n,
473389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 char const *format,
483389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 va_list      args);
493389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasenint _g_gnulib_vasprintf (char       **result,
503389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 char const *format,
513389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen			 va_list      args);
523389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen
533389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen
543389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen#endif /* __GNULIB_PRINTF_H__ */
553389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen
563389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen
573389a051da42b4fabb5690d4430875d16abbeca2Matthias Clasen
58