summaryrefslogtreecommitdiff
path: root/05/musl-0.6.0/src/unistd/fchownat.c
blob: 706264281812eea2ed4aa25c17e41f6b5c1ab3a2 (plain)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

int fchownat(int fd, const char *path, uid_t uid, gid_t gid, int flag)
{
	return syscall5(__NR_fchownat, fd, (long)path, uid, gid, flag);
}