diff options
Diffstat (limited to 'winsup/cygwin/pinfo.h')
-rw-r--r-- | winsup/cygwin/pinfo.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h index 0a13c4bf8..1d6a72cfa 100644 --- a/winsup/cygwin/pinfo.h +++ b/winsup/cygwin/pinfo.h @@ -50,6 +50,8 @@ public: constants in <sys/cygwin.h>. */ DWORD process_state; + pid_t ppid; /* Parent process id. */ + DWORD exitcode; /* set when process exits */ #define PINFO_REDIR_SIZE ((char *) &myself.procinfo->exitcode - (char *) myself.procinfo) @@ -57,9 +59,6 @@ public: /* > 0 if started by a cygwin process */ DWORD cygstarted; - /* Parent process id. */ - pid_t ppid; - /* dwProcessId contains the processid used for sending signals. It will be reset in a child process when it is capable of receiving signals. */ |