[vala] posix: Add sync, fsync, and fdatasync bindings



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]