From: Michael B. Trausch Date: Thu, 25 Jun 2009 19:44:21 +0000 (+0200) Subject: posix: Fix getpgid binding X-Git-Tag: 0.7.4~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=359e4816a0030c2763c6ee36d433ccf4ed2641b7;p=thirdparty%2Fvala.git posix: Fix getpgid binding 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. --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index deccb513b..fc8738cb6 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -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")]