summaryrefslogtreecommitdiff
path: root/src/sys/stat/chmod.c
blob: f1a477301901afa09248c188da768d7776aeb83e (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)
*/