]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Add fchmod
authorLuca Bruno <lucabru@src.gnome.org>
Sat, 29 Dec 2012 14:49:01 +0000 (15:49 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Sat, 29 Dec 2012 14:49:01 +0000 (15:49 +0100)
vapi/posix.vapi

index ea2d025422b41fb476494066ba68fc5309a61908..f56e15022d8c0d5dc245ed1f6da525144275fbbc 100644 (file)
@@ -1494,6 +1494,8 @@ namespace Posix {
        [CCode (cheader_filename = "sys/stat.h")]
        public int chmod (string filename, mode_t mode);
        [CCode (cheader_filename = "sys/stat.h")]
+       public int fchmod (int fd, mode_t mode);
+       [CCode (cheader_filename = "sys/stat.h")]
        public mode_t umask (mode_t mask);
        [CCode (cheader_filename = "sys/stat.h")]
        public int mkdir (string path, mode_t mode);