X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fgprintf.h;h=212c3377f741aa767b3e79d8bc4d198f9e9d2a41;hb=ecf1359191b2f796a7d63288652dd1a93525417d;hp=aa542b3dcc2a0f603a2f10d2ab384fbc20e0740a;hpb=5b60a98d9961289a7bcc71a2ccf314c36e8e2c54;p=platform%2Fupstream%2Fglib.git diff --git a/glib/gprintf.h b/glib/gprintf.h index aa542b3..212c337 100644 --- a/glib/gprintf.h +++ b/glib/gprintf.h @@ -12,43 +12,46 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library; if not, see . */ + #ifndef __G_PRINTF_H__ #define __G_PRINTF_H__ -#include +#include #include #include G_BEGIN_DECLS +GLIB_AVAILABLE_IN_ALL gint g_printf (gchar const *format, - ...) G_GNUC_PRINTF (1, 2); + ...) G_GNUC_PRINTF (1, 2); +GLIB_AVAILABLE_IN_ALL gint g_fprintf (FILE *file, gchar const *format, ...) G_GNUC_PRINTF (2, 3); +GLIB_AVAILABLE_IN_ALL gint g_sprintf (gchar *string, gchar const *format, ...) G_GNUC_PRINTF (2, 3); +GLIB_AVAILABLE_IN_ALL gint g_vprintf (gchar const *format, - va_list args); + va_list args) G_GNUC_PRINTF(1, 0); +GLIB_AVAILABLE_IN_ALL gint g_vfprintf (FILE *file, gchar const *format, - va_list args); + va_list args) G_GNUC_PRINTF(2, 0); +GLIB_AVAILABLE_IN_ALL gint g_vsprintf (gchar *string, gchar const *format, - va_list args); + va_list args) G_GNUC_PRINTF(2, 0); +GLIB_AVAILABLE_IN_ALL gint g_vasprintf (gchar **string, gchar const *format, - va_list args); + va_list args) G_GNUC_PRINTF(2, 0); G_END_DECLS #endif /* __G_PRINTF_H__ */ - - -