[vala] posix: Add pseudo terminal functions



commit 0795620ad5133cd9c10e5a2d941448589d2a7950
Author: Didier 'Ptitjes <ptitjes free fr>
Date:   Sat May 23 11:51:13 2009 +0200

    posix: Add pseudo terminal functions
    
    Add posix_openpt(3), grantpt(3), and unlockpt(3) bindings.
    
    Signed-off-by: Michael 'Mickey' Lauer <mlauer vanille-media de>
---
 vapi/posix.vapi |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 68d299a..deccb51 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -604,6 +604,13 @@ namespace Posix {
 	public int mkostemp (string template, int flags);
 
 	[CCode (cheader_filename = "stdlib.h")]
+	public int posix_openpt (int flags);
+	[CCode (cheader_filename = "stdlib.h")]
+	public int grantpt (int fd);
+	[CCode (cheader_filename = "stdlib.h")]
+	public int unlockpt (int fd);
+
+	[CCode (cheader_filename = "stdlib.h")]
 	public int system (string command);
 
 	public delegate int compar_fn_t (void* key1, void* key2);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]