From: Thijs Vermeir Date: Wed, 4 Mar 2009 09:24:53 +0000 (+0100) Subject: posix.vapi: Fix type of mode argumentent on creat function X-Git-Tag: 0.6.0~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f64cbbf35667af250f35005d937b6404e064af59;p=thirdparty%2Fvala.git posix.vapi: Fix type of mode argumentent on creat function --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index 9e401ca82..3418038f8 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -284,7 +284,7 @@ namespace Posix { [CCode (cheader_filename = "fcntl.h")] public const int POSIX_FADV_NOREUSE; [CCode (cheader_filename = "fcntl.h")] - public int creat (string path, int mode); + public int creat (string path, mode_t mode); [CCode (cheader_filename = "fcntl.h")] public int fcntl (int fd, int cmd, ...); [CCode (cheader_filename = "fcntl.h")]