projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unicode: Move gscripttable.h generation into main script
[platform/upstream/glib.git]
/
glib
/
gprintf.c
diff --git
a/glib/gprintf.c
b/glib/gprintf.c
index
346fd95
..
cf4bf21
100644
(file)
--- a/
glib/gprintf.c
+++ b/
glib/gprintf.c
@@
-12,9
+12,7
@@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* 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 <http://www.gnu.org/licenses/>.
*/
#include "config.h"
*/
#include "config.h"
@@
-30,12
+28,16
@@
/**
* g_printf:
* @format: a standard printf() format string, but notice
/**
* g_printf:
* @format: a standard printf() format string, but notice
- *
<link linkend="string-precision">string precision pitfalls</link>.
+ *
[string precision pitfalls][string-precision]
* @...: the arguments to insert in the output.
*
* An implementation of the standard printf() function which supports
* positional parameters, as specified in the Single Unix Specification.
*
* @...: the arguments to insert in the output.
*
* An implementation of the standard printf() function which supports
* positional parameters, as specified in the Single Unix Specification.
*
+ * As with the standard printf(), this does not automatically append a trailing
+ * new-line character to the message, so typically @format should end with its
+ * own new-line character.
+ *
* Returns: the number of bytes printed.
*
* Since: 2.2
* Returns: the number of bytes printed.
*
* Since: 2.2
@@
-58,7
+60,7
@@
g_printf (gchar const *format,
* g_fprintf:
* @file: the stream to write to.
* @format: a standard printf() format string, but notice
* g_fprintf:
* @file: the stream to write to.
* @format: a standard printf() format string, but notice
- *
<link linkend="string-precision">string precision pitfalls</link>.
+ *
[string precision pitfalls][string-precision]
* @...: the arguments to insert in the output.
*
* An implementation of the standard fprintf() function which supports
* @...: the arguments to insert in the output.
*
* An implementation of the standard fprintf() function which supports
@@
-89,7
+91,7
@@
g_fprintf (FILE *file,
* 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
* 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>.
+ *
[string precision pitfalls][string-precision]
* @...: the arguments to insert in the output.
*
* An implementation of the standard sprintf() function which supports
* @...: the arguments to insert in the output.
*
* An implementation of the standard sprintf() function which supports
@@
-125,7
+127,7
@@
g_sprintf (gchar *string,
* @n: the maximum number of bytes to produce (including the
* terminating nul character).
* @format: a standard printf() format string, but notice
* @n: the maximum number of bytes to produce (including the
* terminating nul character).
* @format: a standard printf() format string, but notice
- *
<link linkend="string-precision">string precision pitfalls</link>.
+ *
[string precision pitfalls][string-precision]
* @...: the arguments to insert in the output.
*
* A safer form of the standard sprintf() function. The output is guaranteed
* @...: the arguments to insert in the output.
*
* A safer form of the standard sprintf() function. The output is guaranteed
@@
-168,7
+170,7
@@
g_snprintf (gchar *string,
/**
* g_vprintf:
* @format: a standard printf() format string, but notice
/**
* g_vprintf:
* @format: a standard printf() format string, but notice
- *
<link linkend="string-precision">string precision pitfalls</link>.
+ *
[string precision pitfalls][string-precision]
* @args: the list of arguments to insert in the output.
*
* An implementation of the standard vprintf() function which supports
* @args: the list of arguments to insert in the output.
*
* An implementation of the standard vprintf() function which supports
@@
-191,7
+193,7
@@
g_vprintf (gchar const *format,
* g_vfprintf:
* @file: the stream to write to.
* @format: a standard printf() format string, but notice
* g_vfprintf:
* @file: the stream to write to.
* @format: a standard printf() format string, but notice
- *
<link linkend="string-precision">string precision pitfalls</link>.
+ *
[string precision pitfalls][string-precision]
* @args: the list of arguments to insert in the output.
*
* An implementation of the standard fprintf() function which supports
* @args: the list of arguments to insert in the output.
*
* An implementation of the standard fprintf() function which supports
@@
-215,7
+217,7
@@
g_vfprintf (FILE *file,
* g_vsprintf:
* @string: the buffer to hold the output.
* @format: a standard printf() format string, but notice
* g_vsprintf:
* @string: the buffer to hold the output.
* @format: a standard printf() format string, but notice
- *
<link linkend="string-precision">string precision pitfalls</link>.
+ *
[string precision pitfalls][string-precision]
* @args: the list of arguments to insert in the output.
*
* An implementation of the standard vsprintf() function which supports
* @args: the list of arguments to insert in the output.
*
* An implementation of the standard vsprintf() function which supports
@@
-242,7
+244,7
@@
g_vsprintf (gchar *string,
* @n: the maximum number of bytes to produce (including the
* terminating nul character).
* @format: a standard printf() format string, but notice
* @n: the maximum number of bytes to produce (including the
* terminating nul character).
* @format: a standard printf() format string, but notice
- *
<link linkend="string-precision">string precision pitfalls</link>.
+ *
string precision pitfalls][string-precision]
* @args: the list of arguments to insert in the output.
*
* A safer form of the standard vsprintf() function. The output is guaranteed
* @args: the list of arguments to insert in the output.
*
* A safer form of the standard vsprintf() function. The output is guaranteed
@@
-282,7
+284,7
@@
g_vsnprintf (gchar *string,
* g_vasprintf:
* @string: the return location for the newly-allocated string.
* @format: a standard printf() format string, but notice
* g_vasprintf:
* @string: the return location for the newly-allocated string.
* @format: a standard printf() format string, but notice
- *
<link linkend="string-precision">string precision pitfalls</link>.
+ *
[string precision pitfalls][string-precision]
* @args: the list of arguments to insert in the output.
*
* An implementation of the GNU vasprintf() function which supports
* @args: the list of arguments to insert in the output.
*
* An implementation of the GNU vasprintf() function which supports