summaryrefslogtreecommitdiff
path: root/src/sys/stat/chmod.c
blob: 975cf01a9de27ca2f2ace227c06be7289fcf8574 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "sys/types.h"
#include <sys/stat.h>
#include "../../_syscall.h"

int chmod(const char *path, mode_t mode)
{
	SYSCALL(chmod, int, -1, path, mode, 0, 0, 0, 0);
}
/*
POSIX(1)
*/