diff options
Diffstat (limited to 'sys/linux/src/chmod.c')
-rw-r--r-- | sys/linux/src/chmod.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/linux/src/chmod.c b/sys/linux/src/chmod.c new file mode 100644 index 0000000..a37a037 --- /dev/null +++ b/sys/linux/src/chmod.c @@ -0,0 +1,8 @@ +#include "internal.h" + +int +sys·chmod(char *path, uint mode) +{ + long ret = syscall(·Chmod, path, mode); + return error(ret); +} |