_creat.c

Go to the documentation of this file.
00001 #include <lib.h>
00002 #define creat   _creat
00003 #include <fcntl.h>
00004 
00005 PUBLIC int creat(name, mode)
00006 _CONST char *name;
00007 _mnx_Mode_t mode;
00008 {
00009   message m;
00010 
00011   m.m3_i2 = mode;
00012   _loadname(name, &m);
00013   return(_syscall(FS, CREAT, &m));
00014 }

Generated on Fri Apr 14 22:57:27 2006 for minix by  doxygen 1.4.6