Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/m32r/chmod.c')
-rw-r--r--libgloss/m32r/chmod.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libgloss/m32r/chmod.c b/libgloss/m32r/chmod.c
new file mode 100644
index 000000000..14990d9a9
--- /dev/null
+++ b/libgloss/m32r/chmod.c
@@ -0,0 +1,10 @@
+#include <sys/types.h>
+#include <sys/stat.h>
+#include "syscall.h"
+#include "eit.h"
+
+int
+_chmod (const char *path, short mode)
+{
+ return TRAP0 (SYS_chmod, path, mode, 0);
+}