summaryrefslogtreecommitdiffhomepage
path: root/src/stat
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat')
-rw-r--r--src/stat/nt32/fchmodat.c8
-rw-r--r--src/stat/nt64/fchmodat.c8
2 files changed, 16 insertions, 0 deletions
diff --git a/src/stat/nt32/fchmodat.c b/src/stat/nt32/fchmodat.c
new file mode 100644
index 0000000..788b59a
--- /dev/null
+++ b/src/stat/nt32/fchmodat.c
@@ -0,0 +1,8 @@
+#include <sys/stat.h>
+#include <fcntl.h>
+#include "syscall.h"
+
+int fchmodat(int fd, const char *path, mode_t mode, int flag)
+{
+ return syscall(SYS_fchmodat, fd, path, mode, flag);
+}
diff --git a/src/stat/nt64/fchmodat.c b/src/stat/nt64/fchmodat.c
new file mode 100644
index 0000000..788b59a
--- /dev/null
+++ b/src/stat/nt64/fchmodat.c
@@ -0,0 +1,8 @@
+#include <sys/stat.h>
+#include <fcntl.h>
+#include "syscall.h"
+
+int fchmodat(int fd, const char *path, mode_t mode, int flag)
+{
+ return syscall(SYS_fchmodat, fd, path, mode, flag);
+}