[vala] posix: Add sync, fsync, and fdatasync bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] posix: Add sync, fsync, and fdatasync bindings
- Date: Sun, 16 Aug 2009 20:26:01 +0000 (UTC)
commit 8579b7b19462ffedc7bacd661e94189ebed6716c
Author: Evan Nemerson <evan polussystems com>
Date: Sun Aug 2 14:40:16 2009 -0700
posix: Add sync, fsync, and fdatasync bindings
Fixes bug 590550.
vapi/posix.vapi | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index e210311..3a8dd31 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1569,6 +1569,12 @@ namespace Posix {
[CCode (cheader_filename = "unistd.h")]
public pid_t tcgetsid (int fd);
+ [CCode (cheader_filename = "unistd.h")]
+ public int fsync (int fd);
+ [CCode (cheader_filename = "unistd.h")]
+ public int fdatasync (int fd);
+ [CCode (cheader_filename = "unistd.h")]
+ public int sync ();
[SimpleType]
[CCode (cname = "cc_t", cheader_filename = "termios.h")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]