[vala] linux: add non-posix fcntl constants
- From: Dr. Michael Lauer <mlauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] linux: add non-posix fcntl constants
- Date: Sat, 18 Feb 2017 16:31:30 +0000 (UTC)
commit e9faa44b6a457d1d2eab82cce9962e58ee5bdba7
Author: Dr. Michael Lauer <mickey vanille-media de>
Date: Sat Feb 18 17:29:39 2017 +0100
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
vapi/linux.vapi | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/vapi/linux.vapi b/vapi/linux.vapi
index a2a504d..3c4c738 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
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]