blob: 061fc87e31e621f904ddfd4f1b9a894480e68ac5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include <sys/stat.h> // for chmod
#include <sys/types.h> // for mode_t
#include <syscall.h> // for __syscall_2, syscall
int chmod(const char *path, mode_t mode)
{
return syscall(chmod, path, mode);
}
|