. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git] / lib / posix / _creat.c
blobb4f475848ae66898381a6725eba61858fdfb7b9e
1 #include <lib.h>
2 #define creat _creat
3 #include <fcntl.h>
5 PUBLIC int creat(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, CREAT, &m));