summaryrefslogtreecommitdiff
path: root/lib/libc/unistd/lchown.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/unistd/lchown.c')
-rw-r--r--lib/libc/unistd/lchown.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/unistd/lchown.c b/lib/libc/unistd/lchown.c
new file mode 100644
index 00000000..a18be4c6
--- /dev/null
+++ b/lib/libc/unistd/lchown.c
@@ -0,0 +1,7 @@
+#include <unistd.h>
+#include <syscall.h>
+
+int lchown(const char *path, uid_t owner, gid_t group)
+{
+ return syscall(lchown, path, owner, group);
+}