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

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