chiark / gitweb /
add simple event loop
[elogind.git] / execute.h
index fb952d1e6a5dac5efaa934033b5a9bb4a2bcd1e7..552e4a9e636f08f8d2d9d4ee47ae6915fc6dd37e 100644 (file)
--- a/execute.h
+++ b/execute.h
@@ -18,7 +18,8 @@ typedef struct ExecContext ExecContext;
 struct ExecStatus {
         pid_t pid;
         time_t timestamp;
-        int status; /* as in wait() */
+        int code;     /* as in siginfo_t::si_code */
+        int status;   /* as in sigingo_t::si_status */
 };
 
 struct ExecCommand {