mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-03 19:30:07 +02:00
Improve docs
This commit is contained in:
parent
fdfc2fc6fc
commit
7d0a0206d8
@ -1,5 +1,8 @@
|
|||||||
2006-12-17 Matthias Clasen <mclasen@redhat.com>
|
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
|
* glib/gstrfuncs.c (g_strndup, g_strnfill): Move docs
|
||||||
inline, and improve wording. (#372598, Behdad Esfahbod)
|
inline, and improve wording. (#372598, Behdad Esfahbod)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2006-12-17 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gobject/tmpl/objects.sgml: Expand GObject::notify
|
||||||
documentation. (#381722, Nickolay V. Shmyrev)
|
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
|
inherited by the child; otherwise all descriptors except stdin/stdout/stderr
|
||||||
will be closed before calling <function>exec()</function> in the child.
|
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
|
@G_SPAWN_DO_NOT_REAP_CHILD: the child will not be automatically reaped; you
|
||||||
must call <function>waitpid()</function> or handle <literal>SIGCHLD</literal>
|
must use g_child_watch_add() yourself (or call <function>waitpid()</function>
|
||||||
yourself, or the child will become a zombie.
|
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,
|
@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>.
|
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,
|
@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
|
* 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
|
* 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
|
* %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
|
* 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
|
* %G_SPAWN_DO_NOT_REAP_CHILD flag. You can then access the child
|
||||||
|
Loading…
x
Reference in New Issue
Block a user