[vala] posix: Add exit and abort bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] posix: Add exit and abort bindings
- Date: Tue, 7 Apr 2009 11:50:00 -0400 (EDT)
commit 56929cc75fe76ebbcfe203e487077516dc03d944
Author: Michael B. Trausch <mike trausch us>
Date: Sun Apr 5 03:44:19 2009 -0400
posix: Add exit and abort bindings
---
vapi/posix.vapi | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 72ca3bc..0b55b4f 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -398,6 +398,11 @@ namespace Posix {
[CCode (cheader_filename = "signal.h")]
public sighandler_t signal (int signum, sighandler_t? handler);
+ [CCode (cheader_filename = "stdlib.h")]
+ public void abort ();
+ [CCode (cheader_filename = "stdlib.h")]
+ public void exit (int status);
+
[CCode (cheader_filename = "string.h")]
public int memcmp (void* s1, void* s2, size_t n);
[CCode (cheader_filename = "string.h")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]