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

int chmod(const char *path, mode_t mode)
{
	return syscall2(__NR_chmod, (long)path, mode);
}