Improve docs

This commit is contained in:
Matthias Clasen 2006-12-17 20:22:20 +00:00
parent fdfc2fc6fc
commit 7d0a0206d8
4 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2006-12-17 Matthias Clasen <mclasen@redhat.com>
* 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)

View File

@ -1,5 +1,8 @@
2006-12-17 Matthias Clasen <mclasen@redhat.com>
* 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)

View File

@ -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,

View File

@ -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