summaryrefslogtreecommitdiff
path: root/src/unistd/lchown.c
blob: 30e839167f7c3d0f320e1c1d5e70553e7c1186e7 (plain) (blame)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

int lchown(const char *path, uid_t uid, gid_t gid)
{
	return syscall3(__NR_lchown32, (long)path, uid, gid);
}