]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: add realpath binding
authorLuca Bruno <lucabru@src.gnome.org>
Sun, 22 Jan 2012 21:28:35 +0000 (13:28 -0800)
committerJürg Billeter <j@bitron.ch>
Tue, 31 Jan 2012 13:02:29 +0000 (14:02 +0100)
Fixes bug 655020.

vapi/posix.vapi

index a69dc58dbab44fea7781b139d341ca9811ce1f47..9fd60aac90b99189e2eb27f63226c1fa5e63aea6 100644 (file)
@@ -1147,6 +1147,9 @@ namespace Posix {
        [CCode (cheader_filename = "stdlib.h")]
        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")]