|
Packit |
ae235b |
/* GLIB - Library of useful routines for C programming
|
|
Packit |
ae235b |
* Copyright (C) 2003 Matthias Clasen
|
|
Packit |
ae235b |
*
|
|
Packit |
ae235b |
* This library is free software; you can redistribute it and/or
|
|
Packit |
ae235b |
* modify it under the terms of the GNU Lesser General Public
|
|
Packit |
ae235b |
* License as published by the Free Software Foundation; either
|
|
Packit |
ae235b |
* version 2 of the License, or (at your option) any later version.
|
|
Packit |
ae235b |
*
|
|
Packit |
ae235b |
* This library is distributed in the hope that it will be useful,
|
|
Packit |
ae235b |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
ae235b |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
ae235b |
* Lesser General Public License for more details.
|
|
Packit |
ae235b |
*
|
|
Packit |
ae235b |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit |
ae235b |
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
ae235b |
*/
|
|
Packit |
ae235b |
#ifndef __GNULIB_PRINTF_H__
|
|
Packit |
ae235b |
#define __GNULIB_PRINTF_H__
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
#include <stdarg.h>
|
|
Packit |
ae235b |
#include <stdio.h>
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
int _g_gnulib_printf (char const *format,
|
|
Packit |
ae235b |
...);
|
|
Packit |
ae235b |
int _g_gnulib_fprintf (FILE *file,
|
|
Packit |
ae235b |
char const *format,
|
|
Packit |
ae235b |
...);
|
|
Packit |
ae235b |
int _g_gnulib_sprintf (char *string,
|
|
Packit |
ae235b |
char const *format,
|
|
Packit |
ae235b |
...);
|
|
Packit |
ae235b |
int _g_gnulib_snprintf (char *string,
|
|
Packit |
ae235b |
size_t n,
|
|
Packit |
ae235b |
char const *format,
|
|
Packit |
ae235b |
...);
|
|
Packit |
ae235b |
int _g_gnulib_vprintf (char const *format,
|
|
Packit |
ae235b |
va_list args);
|
|
Packit |
ae235b |
int _g_gnulib_vfprintf (FILE *file,
|
|
Packit |
ae235b |
char const *format,
|
|
Packit |
ae235b |
va_list args);
|
|
Packit |
ae235b |
int _g_gnulib_vsprintf (char *string,
|
|
Packit |
ae235b |
char const *format,
|
|
Packit |
ae235b |
va_list args);
|
|
Packit |
ae235b |
int _g_gnulib_vsnprintf (char *string,
|
|
Packit |
ae235b |
size_t n,
|
|
Packit |
ae235b |
char const *format,
|
|
Packit |
ae235b |
va_list args);
|
|
Packit |
ae235b |
int _g_gnulib_vasprintf (char **result,
|
|
Packit |
ae235b |
char const *format,
|
|
Packit |
ae235b |
va_list args);
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
#endif /* __GNULIB_PRINTF_H__ */
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
|