. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git] / lib / posix / _chmod.c
blob0f731b68fafc553fd4ce7b6d81187937ee51e82f
1 #include <lib.h>
2 #define chmod _chmod
3 #include <sys/stat.h>
5 PUBLIC int chmod(name, mode)
6 _CONST char *name;
7 _mnx_Mode_t mode;
9 message m;
11 m.m3_i2 = mode;
12 _loadname(name, &m);
13 return(_syscall(FS, CHMOD, &m));