[vala] posix: Add the three waitpid() flags



commit de25b1ab4206c7ba7890e9c67bec776b1698db56
Author: Colomban Wendling <ban herbesfolles org>
Date:   Thu Oct 1 18:49:39 2009 +0200

    posix: Add the three waitpid() flags
    
    Add WNOHANG, WUNTRACED and WCONTINUED.
    
    Fixes bug 597020.

 vapi/posix.vapi |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 0d9bd81..5b8ac5f 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1376,6 +1376,12 @@ namespace Posix {
 	public pid_t wait (out int status);
 	[CCode (cheader_filename = "sys/wait.h")]
 	public pid_t waitpid (pid_t pid, out int status, int options);
+	[CCode (cheader_filename = "sys/wait.h")]
+	public const int WNOHANG;
+	[CCode (cheader_filename = "sys/wait.h")]
+	public const int WUNTRACED;
+	[CCode (cheader_filename = "sys/wait.h")]
+	public const int WCONTINUED;
 
 	[SimpleType]
 	[IntegerType (rank = 9)]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]