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

#include <syscall.h> // for __syscall_3, syscall
#include <unistd.h>  // for fchown, gid_t, uid_t

int fchown(int fildes, uid_t owner, gid_t group)
{
	return syscall(fchown, fildes, owner, group);
}