summaryrefslogtreecommitdiff
path: root/lib/libc/unistd/lchown.c
blob: 0812f26fa0de5df46f0171609c2e95f31cdfcf7f (plain)
1
2
3
4
5
6
7
8
9
10



#include <syscall.h> // for __syscall_3, syscall
#include <unistd.h>  // for gid_t, lchown, uid_t

int lchown(const char *path, uid_t owner, gid_t group)
{
	return syscall(lchown, path, owner, group);
}