summaryrefslogtreecommitdiff
path: root/src/unistd/chown.c
blob: 08c523640f2dbf1992b5b743e7d7cfdb9a7be995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "stddef.h"
#include "sys/types.h"
#include <unistd.h>
#include "nonstd/syscall.h"

int chown(const char *path, uid_t owner, gid_t group)
{
	SYSCALL("chown", int, -1, path, owner, group, 0, 0, 0);
}
/*
POSIX(1)
*/