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



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