Small doc additions.
authorMatthias Clasen <matthiasc@src.gnome.org>
Wed, 30 Jul 2003 19:00:36 +0000 (19:00 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 30 Jul 2003 19:00:36 +0000 (19:00 +0000)
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/ChangeLog
docs/reference/glib/tmpl/misc_utils.sgml
glib/gutils.c

index 26b88750e7a79f975b7796518134eafbb09c0ac5..95717e56e894537561158e27d32444e94a7a79d6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2003-07-30  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gutils.c (g_unsetenv): Use same argument name as in header, to pacify gtk-doc.
+       (g_getenv): Move docs inline, add comment about lifespan of return value.
 
        * glib-2.0.pc.in (Libs): Remove forgotten @TRIO_LIBS@.  (#118616, Noah Levitt)
 
index 26b88750e7a79f975b7796518134eafbb09c0ac5..95717e56e894537561158e27d32444e94a7a79d6 100644 (file)
@@ -1,6 +1,7 @@
 2003-07-30  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gutils.c (g_unsetenv): Use same argument name as in header, to pacify gtk-doc.
+       (g_getenv): Move docs inline, add comment about lifespan of return value.
 
        * glib-2.0.pc.in (Libs): Remove forgotten @TRIO_LIBS@.  (#118616, Noah Levitt)
 
index 26b88750e7a79f975b7796518134eafbb09c0ac5..95717e56e894537561158e27d32444e94a7a79d6 100644 (file)
@@ -1,6 +1,7 @@
 2003-07-30  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gutils.c (g_unsetenv): Use same argument name as in header, to pacify gtk-doc.
+       (g_getenv): Move docs inline, add comment about lifespan of return value.
 
        * glib-2.0.pc.in (Libs): Remove forgotten @TRIO_LIBS@.  (#118616, Noah Levitt)
 
index 26b88750e7a79f975b7796518134eafbb09c0ac5..95717e56e894537561158e27d32444e94a7a79d6 100644 (file)
@@ -1,6 +1,7 @@
 2003-07-30  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gutils.c (g_unsetenv): Use same argument name as in header, to pacify gtk-doc.
+       (g_getenv): Move docs inline, add comment about lifespan of return value.
 
        * glib-2.0.pc.in (Libs): Remove forgotten @TRIO_LIBS@.  (#118616, Noah Levitt)
 
index 26b88750e7a79f975b7796518134eafbb09c0ac5..95717e56e894537561158e27d32444e94a7a79d6 100644 (file)
@@ -1,6 +1,7 @@
 2003-07-30  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gutils.c (g_unsetenv): Use same argument name as in header, to pacify gtk-doc.
+       (g_getenv): Move docs inline, add comment about lifespan of return value.
 
        * glib-2.0.pc.in (Libs): Remove forgotten @TRIO_LIBS@.  (#118616, Noah Levitt)
 
index 26b88750e7a79f975b7796518134eafbb09c0ac5..95717e56e894537561158e27d32444e94a7a79d6 100644 (file)
@@ -1,6 +1,7 @@
 2003-07-30  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gutils.c (g_unsetenv): Use same argument name as in header, to pacify gtk-doc.
+       (g_getenv): Move docs inline, add comment about lifespan of return value.
 
        * glib-2.0.pc.in (Libs): Remove forgotten @TRIO_LIBS@.  (#118616, Noah Levitt)
 
index a2e9f909e795be838b2fe2c61d8816eabeef0cd0..6be1a2b36c7505d723e332c123d305e111e40465 100644 (file)
@@ -1,5 +1,7 @@
 2003-07-30  Matthias Clasen  <maclas@gmx.de>
 
+       * glib/tmpl/misc_utils.sgml: Move g_getenv() docs inline.
+
        * glib/tmpl/string_utils.sgml: Small fixes.
 
        * glib/glib-docs.sgml: Add paragraph about multi-threading policy.
index 0553a9be310e9c316925edc580f48a5d2e6e5989..a7b07f2271bd43139164cdcf191ed442151ffbfb 100644 (file)
@@ -54,12 +54,30 @@ reasons this function can only be called once.
 
 <!-- ##### FUNCTION g_getenv ##### -->
 <para>
-Returns an environment variable.
+
+</para>
+
+@variable:
+@Returns: 
+
+
+<!-- ##### FUNCTION g_setenv ##### -->
+<para>
+
+</para>
+
+@variable: 
+@value: 
+@overwrite: 
+@Returns: 
+
+
+<!-- ##### FUNCTION g_unsetenv ##### -->
+<para>
+
 </para>
 
-@variable: the environment variable to get.
-@Returns: the value of the environment variable, or %NULL if the environment
-variable is not found.
+@variable: 
 
 
 <!-- ##### FUNCTION g_get_user_name ##### -->
index 862979343386c65bc778a118d5d67cd91b4e71d8..1efd7542bfb5f6e8addaea77e8107ecab0c81830 100644 (file)
@@ -609,6 +609,16 @@ g_get_current_dir (void)
   return dir;
 }
 
+/**
+ * g_getenv:
+ * @variable: the environment variable to get.
+ * 
+ * Returns an environment variable.
+ * 
+ * Return value: the value of the environment variable, or %NULL if the environment
+ * variable is not found. The returned string may be overwritten by the next call to g_getenv(),
+ * g_setenv() or g_unsetenv().
+ **/
 G_CONST_RETURN gchar*
 g_getenv (const gchar *variable)
 {