From b68a32b73a1aecefd25809777b8e5a948c0e3c9a Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Wed, 4 Mar 2009 06:17:53 +0700 Subject: [PATCH] posix.vapi: Added kill and pid_t --- vapi/posix.vapi | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/vapi/posix.vapi b/vapi/posix.vapi index 9e401ca..bc14675 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -357,8 +357,15 @@ namespace Posix { public static delegate void sighandler_t (int signal); + [SimpleType] + [CCode (cname = "jack_nframes_t", default_value = "0", cheader_filename = "signal.h")] + public struct pid_t { + } [CCode (cheader_filename = "signal.h")] public sighandler_t signal (int signum, sighandler_t handler); + [CCode (cheader_filename = "signal.h")] + public int kill (pid_t pid, int signum); + [CCode (cheader_filename = "string.h")] public int memcmp (void* s1, void* s2, size_t n); -- 1.5.4.3