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


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