[vala] posix: Add signal functions
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] posix: Add signal functions
- Date: Wed, 8 Jul 2009 17:58:42 +0000 (UTC)
commit 7c4e70a10b2e4fec7ae427cf7b3266b7ab9ba5d5
Author: Jukka-Pekka Iivonen <jp0409 jippii fi>
Date: Wed Jul 8 18:29:11 2009 +0100
posix: Add signal functions
Fixes bug 584145.
vapi/posix.vapi | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index fc8738c..836177f 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -574,7 +574,30 @@ namespace Posix {
}
[CCode (cheader_filename = "signal.h")]
public int kill (pid_t pid, int signum);
+ [CCode (cheader_filename = "signal.h")]
+ public int killpg (pid_t pgpr, int signum);
+ [CCode (cheader_filename = "signal.h")]
+ public int raise (int signum);
+ [CCode (cheader_filename = "signal.h")]
+ public int sigemptyset (sigset_t sigset);
+ [CCode (cheader_filename = "signal.h")]
+ public int sigfillset (sigset_t sigset);
+ [CCode (cheader_filename = "signal.h")]
+ public int sigaddset (sigset_t sigset, int signo);
+ [CCode (cheader_filename = "signal.h")]
+ public int sigdelset (sigset_t sigset, int __signo);
+ [CCode (cheader_filename = "signal.h")]
+ public int sigismember (sigset_t sigset, int __signo);
+ [CCode (cheader_filename = "signal.h")]
+ public int sigprocmask (int how, sigset_t sigset, sigset_t oset);
+ [CCode (cheader_filename = "signal.h")]
+ public int sigsuspend (sigset_t sigset);
+ [CCode (cheader_filename = "signal.h")]
+ public int sigpending (sigset_t sigset);
+ [CCode (cheader_filename = "signal.h")]
+ public int sigwait (sigset_t sigset, out int sig);
+ [CCode (cheader_filename = "signal.h")]
public static delegate void sighandler_t (int signal);
[CCode (cheader_filename = "signal.h")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]