]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Fix getpgid binding
authorMichael B. Trausch <mike@trausch.us>
Thu, 25 Jun 2009 19:44:21 +0000 (21:44 +0200)
committerJürg Billeter <j@bitron.ch>
Thu, 25 Jun 2009 19:44:21 +0000 (21:44 +0200)
The getpgid function call takes a single parameter, the PID of the
process the user is interested in getting the PGID for, per POSIX and
Linux man pages.

vapi/posix.vapi

index deccb513b80d28d142f3d8c46a4f9d03dd52b8f0..fc8738cb6bba9c874427fb06f3c22da38cdbc9a0 100644 (file)
@@ -1225,7 +1225,7 @@ namespace Posix {
        [CCode (cheader_filename = "unistd.h")]
        public pid_t getpgrp ();
        [CCode (cheader_filename = "unistd.h")]
-       public pid_t getpgid ();
+       public pid_t getpgid (pid_t pid);
        [CCode (cheader_filename = "unistd.h")]
        public int setpgid (pid_t pid, pid_t pgid);
        [CCode (cheader_filename = "unistd.h")]