From: Luca Bruno Date: Sun, 22 Jan 2012 21:28:35 +0000 (-0800) Subject: posix: add realpath binding X-Git-Tag: 0.14.2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0763364844ea7b148ef5f8355a8fca309f63d10d;p=thirdparty%2Fvala.git posix: add realpath binding Fixes bug 655020. --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index a69dc58db..9fd60aac9 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -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")]