mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-22 10:12:10 +01:00
gmain: Add a clarifying comment about exit statuses vs wait statuses
Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #2216 (cherry-picked from commit 7b93693ab3007670a3d95d6ac3cb9260c5643493)
This commit is contained in:
parent
fcf2aaa1eb
commit
ad7617a528
@ -342,6 +342,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