diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2012-04-12 22:58:20 +1000 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2012-06-23 17:01:48 +0200 |
commit | 8a34394da6fda6f6745ba87d3180442cd7f14ba8 (patch) | |
tree | 6280bee6beebcd91730ed990b27db6c2efdce97c | |
parent | b76728065ec959f2c5d0d131958a3b8c8bd0f95e (diff) | |
download | vala-8a34394da6fda6f6745ba87d3180442cd7f14ba8.tar.gz |
posix: Add utimensat and futimens bindings
-rw-r--r-- | vapi/posix.vapi | 5 |
1 files changed, 5 insertions, 0 deletions
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")] |