summaryrefslogtreecommitdiff
path: root/lib/libc/unistd/lchown.c
blob: ea5f4700750163dbf3817dd305dc2ec3d8447492 (plain)
1
2
3
4
5
6
7
8
9
#include "asm/unistd_64.h" // for __NR_lchown

#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);
}