From 4d83c82f471876897b83d9c6aa80263520a67375 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 26 Sep 2005 14:44:01 +0000 Subject: [PATCH] Add details to the docs. (#314393, Matthew F. Barnes) 2005-09-26 Matthias Clasen * glib/gstrfuncs.c (g_ascii_strtoull): Add details to the docs. (#314393, Matthew F. Barnes) --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ ChangeLog.pre-2-12 | 3 +++ glib/gstrfuncs.c | 7 +++++-- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3a7ee3dd..19d3e3fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-09-26 Matthias Clasen + * glib/gstrfuncs.c (g_ascii_strtoull): Add details to the + docs. (#314393, Matthew F. Barnes) + * glib/glib.symbols: * glib/gprintf.h: Remove g_snprintf() and g_vsnprintf(), since they are already declared in glib.h. This doesn't break documented diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 3a7ee3dd..19d3e3fb 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-09-26 Matthias Clasen + * glib/gstrfuncs.c (g_ascii_strtoull): Add details to the + docs. (#314393, Matthew F. Barnes) + * glib/glib.symbols: * glib/gprintf.h: Remove g_snprintf() and g_vsnprintf(), since they are already declared in glib.h. This doesn't break documented diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 3a7ee3dd..19d3e3fb 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,5 +1,8 @@ 2005-09-26 Matthias Clasen + * glib/gstrfuncs.c (g_ascii_strtoull): Add details to the + docs. (#314393, Matthew F. Barnes) + * glib/glib.symbols: * glib/gprintf.h: Remove g_snprintf() and g_vsnprintf(), since they are already declared in glib.h. This doesn't break documented diff --git a/glib/gstrfuncs.c b/glib/gstrfuncs.c index 321c1102..12018ec8 100644 --- a/glib/gstrfuncs.c +++ b/glib/gstrfuncs.c @@ -610,9 +610,12 @@ g_ascii_formatd (gchar *buffer, * locale-sensitive system strtoull() function. * * If the correct value would cause overflow, %G_MAXUINT64 - * is returned, and %ERANGE is stored in %errno. + * is returned, and %ERANGE is stored in %errno. If the base is + * outside the valid range, zero is returned, and %EINVAL is stored + * in %errno. If the string conversion fails, zero is returned, and + * @endptr returns @nptr (if @endptr is non-%NULL). * - * Return value: the #guint64 value. + * Return value: the #guint64 value or zero on error. * * Since: 2.2 **/ -- 2.34.1