[vala/0.6] posix: Add exit and abort bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala/0.6] posix: Add exit and abort bindings
- Date: Sun, 12 Apr 2009 12:13:23 -0400 (EDT)
commit f800858c28fe69cd5c8df51f7e3663a83f6c9607
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]