source: trunk/minix/lib/posix/_creat.c@ 12

Last change on this file since 12 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 218 bytes
RevLine 
[9]1#include <lib.h>
2#define creat _creat
3#include <fcntl.h>
4
5PUBLIC int creat(name, mode)
6_CONST char *name;
7_mnx_Mode_t mode;
8{
9 message m;
10
11 m.m3_i2 = mode;
12 _loadname(name, &m);
13 return(_syscall(FS, CREAT, &m));
14}
Note: See TracBrowser for help on using the repository browser.