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


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