[vala] posix: Add exit and abort bindings



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]