[kdbus] KDBUS_ITEM_PAYLOAD_OFF items are (once again) relative to msg header
[platform/upstream/glib.git] / glib / gnulib / printf.h
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, see <http://www.gnu.org/licenses/>.
16  */
17 #ifndef __GNULIB_PRINTF_H__
18 #define __GNULIB_PRINTF_H__
19
20 #include <stdarg.h>
21 #include <stdio.h>
22
23 int _g_gnulib_printf    (char const *format, 
24                          ...);
25 int _g_gnulib_fprintf   (FILE        *file,
26                          char const *format, 
27                          ...);
28 int _g_gnulib_sprintf   (char       *string,
29                          char const *format, 
30                          ...);
31 int _g_gnulib_snprintf  (char       *string,
32                          size_t       n,
33                          char const *format, 
34                          ...);
35 int _g_gnulib_vprintf   (char const *format,
36                          va_list      args);            
37 int _g_gnulib_vfprintf  (FILE        *file,
38                          char const *format,
39                          va_list      args);
40 int _g_gnulib_vsprintf  (char       *string,
41                          char const *format,
42                          va_list      args);
43 int _g_gnulib_vsnprintf (char       *string,
44                          size_t       n,
45                          char const *format,
46                          va_list      args);
47 int _g_gnulib_vasprintf (char       **result,
48                          char const *format,
49                          va_list      args);
50
51
52 #endif /* __GNULIB_PRINTF_H__ */
53
54
55