diff options
Diffstat (limited to 'src/unistd/chown.c')
-rw-r--r-- | src/unistd/chown.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/unistd/chown.c b/src/unistd/chown.c new file mode 100644 index 00000000..6069a2fe --- /dev/null +++ b/src/unistd/chown.c @@ -0,0 +1,7 @@ +#include <unistd.h> +#include "syscall.h" + +int chown(const char *path, uid_t uid, gid_t gid) +{ + return syscall3(__NR_chown32, (long)path, uid, gid); +} |