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



#include <syscall.h> // for __syscall_5, syscall
#include <unistd.h>  // for fchownat, gid_t, uid_t

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