From: Luca Bruno Date: Sat, 29 Dec 2012 14:49:01 +0000 (+0100) Subject: posix: Add fchmod X-Git-Tag: 0.19.0~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6db41720bab616adfa44d1a0261625cf50ff7c6;p=thirdparty%2Fvala.git posix: Add fchmod --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index ea2d02542..f56e15022 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -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);