Document g_snprintf to return "bytes" rather than "characters".

2007-08-22  Cody Russell  <bratsche@gnome.org>

        * glib/gprintf.c: Document g_snprintf to return "bytes" rather
        than "characters".


svn path=/trunk/; revision=5716
This commit is contained in:
Cody Russell 2007-08-22 17:25:59 +00:00 committed by Cody Russell
parent c77d24318d
commit ae70a4e5af
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-08-22 Cody Russell <bratsche@gnome.org>
* glib/gprintf.c: Document g_snprintf to return "bytes" rather
than "characters".
2007-08-20 Behdad Esfahbod <behdad@gnome.org>
* glib/guniprop.c: Document that g_unichar_get_script() is

View File

@ -145,7 +145,7 @@ g_sprintf (gchar *string,
* The format string may contain positional parameters, as specified in
* the Single Unix Specification.
*
* Returns: the number of characters which would be produced if the buffer
* Returns: the number of bytes which would be produced if the buffer
* was large enough.
**/
gint