blob: 005869bacd93b51042ead3aaf8bdb97309615013 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#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);
}
|