From: Evan Nemerson Date: Sun, 2 Aug 2009 21:40:16 +0000 (-0700) Subject: posix: Add sync, fsync, and fdatasync bindings X-Git-Tag: 0.7.6~189 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8579b7b19462ffedc7bacd661e94189ebed6716c;p=thirdparty%2Fvala.git posix: Add sync, fsync, and fdatasync bindings Fixes bug 590550. --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index e210311d0..3a8dd317f 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")]