vm: include no-caching bits in PTF_ALLFLAGS for flags sanity check.
[minix.git] / lib / libc / posix / _chmod.c
blobfe5dd802b733e56bef4227513cf5272a4d9a0660
1 #include <lib.h>
2 #define chmod _chmod
3 #include <sys/stat.h>
5 PUBLIC int chmod(const char *name, mode_t mode)
7 message m;
9 m.m3_i2 = mode;
10 _loadname(name, &m);
11 return(_syscall(FS, CHMOD, &m));