[vala] posix: add realpath binding



commit 208c317c0ce0c14499a0849c9dd1367ee6c65954
Author: Luca Bruno <lucabru src gnome org>
Date:   Sun Jan 22 13:28:35 2012 -0800

    posix: add realpath binding
    
    Fixes bug 655020.

 vapi/posix.vapi |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index a69dc58..9fd60aa 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1148,6 +1148,9 @@ namespace Posix {
 	public int mkostemp (string template, int flags);
 
 	[CCode (cheader_filename = "stdlib.h")]
+	public string? realpath (string path, owned uint8[]? resolved_path = null);
+
+	[CCode (cheader_filename = "stdlib.h")]
 	public int posix_openpt (int flags);
 	[CCode (cheader_filename = "stdlib.h")]
 	public int grantpt (int fd);



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