X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fgenviron.c;h=0a83ac941862fa0253d36340a794b1539fdbfeed;hb=ecf1359191b2f796a7d63288652dd1a93525417d;hp=44efd27e59ff03d3c8214c3ab08e875ed1172d6d;hpb=64eface479baf3db06f0f42b43f391db55b5ad4d;p=platform%2Fupstream%2Fglib.git diff --git a/glib/genviron.c b/glib/genviron.c index 44efd27..0a83ac9 100644 --- a/glib/genviron.c +++ b/glib/genviron.c @@ -76,7 +76,7 @@ g_environ_find (gchar **envp, * Returns the value of the environment variable @variable in the * provided list @envp. * - * Return value: the value of the environment variable, or %NULL if + * Returns: the value of the environment variable, or %NULL if * the environment variable is not set in @envp. The returned * string is owned by @envp, and will be freed if @variable is * set or unset again. @@ -111,7 +111,7 @@ g_environ_getenv (gchar **envp, * Sets the environment variable @variable in the provided list * @envp to @value. * - * Return value: (array zero-terminated=1) (transfer full): the + * Returns: (array zero-terminated=1) (transfer full): the * updated environment list. Free it using g_strfreev(). * * Since: 2.32 @@ -195,7 +195,7 @@ g_environ_unsetenv_internal (gchar **envp, * Removes the environment variable @variable from the provided * environment @envp. * - * Return value: (array zero-terminated=1) (transfer full): the + * Returns: (array zero-terminated=1) (transfer full): the * updated environment list. Free it using g_strfreev(). * * Since: 2.32 @@ -229,7 +229,7 @@ g_environ_unsetenv (gchar **envp, * On Windows, in case the environment variable's value contains * references to other environment variables, they are expanded. * - * Return value: the value of the environment variable, or %NULL if + * Returns: 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(). @@ -256,7 +256,7 @@ g_getenv (const gchar *variable) * Note that on some systems, when variables are overwritten, the memory * used for the previous variables and its value isn't reclaimed. * - * You should be mindful fo the fact that environment variable handling + * You should be mindful of the fact that environment variable handling * in UNIX is not thread-safe, and your program may crash if one thread * calls g_setenv() while another thread is calling getenv(). (And note * that many functions, such as gettext(), call getenv() internally.)