]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix.vapi: Fix type of mode argumentent on creat function
authorThijs Vermeir <thijsvermeir@gmail.com>
Wed, 4 Mar 2009 09:24:53 +0000 (10:24 +0100)
committerThijs Vermeir <thijsvermeir@gmail.com>
Wed, 4 Mar 2009 09:26:34 +0000 (10:26 +0100)
vapi/posix.vapi

index 9e401ca826eabdde579716d0bb34b3fcbf60e656..3418038f8813e3e6cfe4e57a302448d6720f92ab 100644 (file)
@@ -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")]