[vala] posix: Fix getpgid binding



commit 359e4816a0030c2763c6ee36d433ccf4ed2641b7
Author: Michael B. Trausch <mike trausch us>
Date:   Thu Jun 25 21:44:21 2009 +0200

    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.

 vapi/posix.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index deccb51..fc8738c 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")]



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