mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 19:52:10 +01:00
gmain: Add a clarifying comment about exit statuses vs wait statuses
Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #2216
This commit is contained in:
parent
ed564b71dd
commit
7b93693ab3
@ -352,6 +352,8 @@ struct _GChildWatchSource
|
||||
{
|
||||
GSource source;
|
||||
GPid pid;
|
||||
/* On Unix this is a wait status, which is the thing you pass to WEXITSTATUS()
|
||||
* to get the status returned from the process’ main() or passed to exit(): */
|
||||
gint child_status;
|
||||
#ifdef G_OS_WIN32
|
||||
GPollFD poll;
|
||||
|
Loading…
x
Reference in New Issue
Block a user