]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Add the three waitpid() flags
authorColomban Wendling <ban@herbesfolles.org>
Thu, 1 Oct 2009 16:49:39 +0000 (18:49 +0200)
committerJürg Billeter <j@bitron.ch>
Sat, 31 Oct 2009 14:31:34 +0000 (15:31 +0100)
Add WNOHANG, WUNTRACED and WCONTINUED.

Fixes bug 597020.

vapi/posix.vapi

index 0d9bd81147e57902bf7c86ce5d40eeaa0f2c1c7a..5b8ac5f636d931a5e360d6d0967bcc68e8f3f99d 100644 (file)
@@ -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)]