Clarify the documentation + regarding overflows (wording by Jan Schmidt)

* glib/gprintf.c (g_sprintf): Clarify the documentation
+       regarding overflows (wording by Jan Schmidt)

svn path=/trunk/; revision=5315
This commit is contained in:
Benjamin Otte 2007-01-24 16:23:23 +00:00
parent 16531a5fbd
commit aa8150599d
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-01-24 Benjamin Otte <otte@gnome.org>
* glib/gprintf.c (g_sprintf): Clarify the documentation
regarding overflows (wording by Jan Schmidt)
2007-01-23 Roozbeh Pournader <roozbeh@farsiweb.info>
* README: Remove mention of no-longer-existing PATCH

View File

@ -89,7 +89,9 @@ g_fprintf (FILE *file,
/**
* g_sprintf:
* @string: the buffer to hold the output.
* @string: A pointer to a memory buffer to contain the resulting string. It
* is up to the caller to ensure that the allocated buffer is large
* enough to hold the formatted result
* @format: a standard printf() format string, but notice
* <link linkend="string-precision">string precision pitfalls</link>.
* @Varargs: the arguments to insert in the output.