emulate SOCK_CLOEXEC and SOCK_NONBLOCK for old (pre-2.6.27) kernels
[oweals/musl.git] / src / stat / chmod.c
1 #include <sys/stat.h>
2 #include "syscall.h"
3
4 int chmod(const char *path, mode_t mode)
5 {
6         return syscall(SYS_chmod, path, mode);
7 }