Commit 7d0a0206 authored by Matthias Clasen's avatar Matthias Clasen

Improve docs

parent fdfc2fc6
2006-12-17 Matthias Clasen <>
* glib/gspawn.c: Refer to g_child_watch_add() in addition
to waitpid().
* glib/gstrfuncs.c (g_strndup, g_strnfill): Move docs
inline, and improve wording. (#372598, Behdad Esfahbod)
2006-12-17 Matthias Clasen <>
* glib/tmpl/spawn.sgml: Refer to g_child_watch_add() in addition
to waitpid().
* gobject/tmpl/objects.sgml: Expand GObject::notify
documentation. (#381722, Nickolay V. Shmyrev)
......@@ -61,8 +61,8 @@ Flags passed to g_spawn_sync(), g_spawn_async() and g_spawn_async_with_pipes().
inherited by the child; otherwise all descriptors except stdin/stdout/stderr
will be closed before calling <function>exec()</function> in the child.
@G_SPAWN_DO_NOT_REAP_CHILD: the child will not be automatically reaped; you
must call <function>waitpid()</function> or handle <literal>SIGCHLD</literal>
yourself, or the child will become a zombie.
must use g_child_watch_add() yourself (or call <function>waitpid()</function>
or handle <literal>SIGCHLD</literal> yourself), or the child will become a zombie.
@G_SPAWN_SEARCH_PATH: <literal>argv[0]</literal> need not be an absolute path,
it will be looked for in the user's <envar>PATH</envar>.
@G_SPAWN_STDOUT_TO_DEV_NULL: the child's standad output will be discarded,
......@@ -529,7 +529,7 @@ g_spawn_sync (const gchar *working_directory,
* If non-%NULL, @child_pid will on Unix be filled with the child's
* process ID. You can use the process ID to send signals to the
* child, or to waitpid() if you specified the
* child, or to use g_child_watch_add() (or waitpid()) if you specified the
* %G_SPAWN_DO_NOT_REAP_CHILD flag. On Windows, @child_pid will be
* filled with a handle to the child process only if you specified the
* %G_SPAWN_DO_NOT_REAP_CHILD flag. You can then access the child
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment