[Vala] [PATCH] Fix Posix.getpgid() binding
- From: "Michael B. Trausch" <mbt zest trausch us>
- To: vala-list gnome org
- Subject: [Vala] [PATCH] Fix Posix.getpgid() binding
- Date: Thu, 11 Jun 2009 23:24:09 -0400 (EDT)
From 81a7e1cbbfc6f5f5ba765b7338578c54a8979053 Mon Sep 17 00:00:00 2001
From: Michael B. Trausch <mike trausch us>
Date: Thu, 11 Jun 2009 23:20:12 -0400
Subject: [PATCH] Fix Posix.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.
Signed-off-by: Michael B. Trausch <mike trausch us>
---
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")]
--
1.6.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]