From: Dr. Michael Lauer Date: Sat, 18 Feb 2017 16:29:39 +0000 (+0100) Subject: linux: add non-posix fcntl constants X-Git-Tag: 0.35.6~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e9faa44b6a457d1d2eab82cce9962e58ee5bdba7;p=thirdparty%2Fvala.git linux: add non-posix fcntl constants Fixes bugs 729804 and 729805 https://bugzilla.gnome.org/show_bug.cgi?id=729804 https://bugzilla.gnome.org/show_bug.cgi?id=729805 --- diff --git a/vapi/linux.vapi b/vapi/linux.vapi index a2a504d71..3c4c7381f 100644 --- a/vapi/linux.vapi +++ b/vapi/linux.vapi @@ -832,6 +832,16 @@ namespace Linux { } } + // Non-Posix file control constants, -D _GNU_SOURCE + [CCode (cheader_filename = "fcntl.h")] + public const int O_DIRECT; + [CCode (cheader_filename = "fcntl.h")] + public const int O_NOATIME; + [CCode (cheader_filename = "fcntl.h")] + public const int O_PATH; + [CCode (cheader_filename = "fcntl.h")] + public const int O_TMPFILE; + /* * Gsm */