summaryrefslogtreecommitdiff
path: root/src/stat/chmod.c
blob: beb66e59d0611cfbe08b0bf5aad6888fc9df32ee (plain)
1
2
3
4
5
6
7
#include <sys/stat.h>
#include "syscall.h"

int chmod(const char *path, mode_t mode)
{
	return syscall(SYS_chmod, path, mode);
}