epoc32/include/stdapis/glib-2.0/glib/gprintf.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 0 061f57f2323e
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     1 /* GLIB - Library of useful routines for C programming
     2  * Copyright (C) 1995-1997, 2002  Peter Mattis, Red Hat, Inc.
     3  * Portions copyright (c) 2006 Nokia Corporation.  All rights reserved.
     4  *
     5  * This library is free software; you can redistribute it and/or
     6  * modify it under the terms of the GNU Lesser General Public
     7  * License as published by the Free Software Foundation; either
     8  * version 2 of the License, or (at your option) any later version.
     9  *
    10  * This library is distributed in the hope that it will be useful,
    11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13  * Lesser General Public License for more details.
    14  *
    15  * You should have received a copy of the GNU Lesser General Public
    16  * License along with this library; if not, write to the
    17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    18  * Boston, MA 02111-1307, USA.
    19  */
    20 #ifndef __G_PRINTF_H__
    21 #define __G_PRINTF_H__
    22 
    23 #include <_ansi.h>
    24 #include <glib/gtypes.h>
    25 #include <stdio.h>
    26 #include <stdarg.h>
    27 
    28 G_BEGIN_DECLS
    29 
    30 IMPORT_C gint                  g_printf    (gchar const *format,
    31                                    ...) G_GNUC_PRINTF (1, 2);            
    32 IMPORT_C gint                  g_fprintf   (FILE        *file,
    33 				   gchar const *format,
    34 				   ...) G_GNUC_PRINTF (2, 3);
    35 IMPORT_C gint                  g_sprintf   (gchar       *string,
    36 				   gchar const *format,
    37 				   ...) G_GNUC_PRINTF (2, 3);
    38 IMPORT_C gint                  g_vprintf   (gchar const *format,
    39                                    va_list      args);            
    40 IMPORT_C gint                  g_vfprintf  (FILE        *file,
    41 				   gchar const *format,
    42 				   va_list      args);
    43 IMPORT_C gint                  g_vsprintf  (gchar       *string,
    44 				   gchar const *format,
    45 				   va_list      args);
    46 IMPORT_C gint                  g_vasprintf (gchar      **string,
    47 				   gchar const *format,
    48 				   va_list      args);
    49 
    50 G_END_DECLS
    51 
    52 #endif /* __G_PRINTF_H__ */
    53 
    54 
    55