[vala] posix.vapi: Fix type of mode argumentent on creat



commit f64cbbf35667af250f35005d937b6404e064af59
Author: Thijs Vermeir <thijsvermeir gmail com>
Date:   Wed Mar 4 10:24:53 2009 +0100

    posix.vapi: Fix type of mode argumentent on creat function
---
 vapi/posix.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 9e401ca..3418038 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")]



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