[vala] posix: Add utimensat and futimens bindings
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [vala] posix: Add utimensat and futimens bindings
- Date: Thu, 12 Apr 2012 23:41:10 +0000 (UTC)
commit dbcdc815a991b811089fddbcff71dc8a958a3fa7
Author: Robert Ancell <robert ancell canonical com>
Date:   Thu Apr 12 22:58:20 2012 +1000
    posix: Add utimensat and futimens bindings
 vapi/posix.vapi |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 9e5d39c..14e3eab 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1621,6 +1621,11 @@ namespace Posix {
 	[CCode (cheader_filename = "sys/types.h,sys/stat.h,fcntl.h,unistd.h")]
 	public pid_t mknod (string pathname, mode_t mode, dev_t dev);
 
+	[CCode (cheader_filename = "sys/stat.h")]
+	public int utimensat (int dirfd, string pathname, [CCode (array_length = false)] timespec[] times, int flags = 0);
+	[CCode (cheader_filename = "sys/stat.h")]
+	public int futimens (int fd, [CCode (array_length = false)] timespec[] times);
+
 	[CCode (cheader_filename = "sys/wait.h")]
 	public pid_t wait (out int status);
 	[CCode (cheader_filename = "sys/wait.h")]
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]