From: Robert Ancell Date: Thu, 12 Apr 2012 12:58:20 +0000 (+1000) Subject: posix: Add utimensat and futimens bindings X-Git-Tag: 0.17.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbcdc815a991b811089fddbcff71dc8a958a3fa7;p=thirdparty%2Fvala.git posix: Add utimensat and futimens bindings --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index 9e5d39c7a..14e3eab46 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")]