Add details to the docs. (#314393, Matthew F. Barnes)
authorMatthias Clasen <mclasen@redhat.com>
Mon, 26 Sep 2005 14:44:01 +0000 (14:44 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 26 Sep 2005 14:44:01 +0000 (14:44 +0000)
2005-09-26  Matthias Clasen  <mclasen@redhat.com>

* glib/gstrfuncs.c (g_ascii_strtoull): Add details to the
docs.  (#314393, Matthew F. Barnes)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
glib/gstrfuncs.c

index 3a7ee3d..19d3e3f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-09-26  Matthias Clasen  <mclasen@redhat.com>
 
+       * 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
index 3a7ee3d..19d3e3f 100644 (file)
@@ -1,5 +1,8 @@
 2005-09-26  Matthias Clasen  <mclasen@redhat.com>
 
+       * 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
index 3a7ee3d..19d3e3f 100644 (file)
@@ -1,5 +1,8 @@
 2005-09-26  Matthias Clasen  <mclasen@redhat.com>
 
+       * 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
index 321c110..12018ec 100644 (file)
@@ -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
  **/